Joined: Mon Oct 19, 2009 9:04 am Posts: 302 Location: Under Your Bed
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?
Sat Aug 28, 2010 4:23 am
Coops
Joined: Wed Feb 17, 2010 12:07 am Posts: 1545 Location: That small peaceful place called Hell.
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.
Sat Aug 28, 2010 4:43 am
Joesycop
Joined: Mon Oct 19, 2009 9:04 am Posts: 302 Location: Under Your Bed
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum