Data Realms Fan Forums
http://45.55.195.193/

How do i make a unit spawn with a gun
http://45.55.195.193/viewtopic.php?f=1&t=19625
Page 1 of 1

Author:  Joesycop [ Sat Aug 28, 2010 4:23 am ]
Post subject:  How do i make a unit spawn with a gun

How do i make a unit spawn with a gun? Whats a example of code?, Please show me one. I want a certain guy i made, not the one i got help with(I made like 2 others a bit later, to start with a magnum and another to start with a assault rifle. What would i put to make him have it?

Author:  Coops [ Sat Aug 28, 2010 4:43 am ]
Post subject:  Re: How do i make a unit spawn with a gun

Code:
AddInventory = HDFirearm
[Tab]CopyOf = [Whatever your Weapon is]


Put that into the actors main code.

But make sure it has the Recipe for the Ice Cream Sundae before you tell it to give it to the actor.

Author:  Joesycop [ Sat Aug 28, 2010 5:31 am ]
Post subject:  Re: How do i make a unit spawn with a gun

Ok thanks a ton.

Page 1 of 1 All times are UTC [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/