View unanswered posts | View active topics It is currently Sun Jan 05, 2025 2:18 am



Reply to topic  [ 3 posts ] 
 How do i make a unit spawn with a gun 
Author Message
User avatar

Joined: Mon Oct 19, 2009 9:04 am
Posts: 302
Location: Under Your Bed
Reply with quote
Post 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
Profile YIM
User avatar

Joined: Wed Feb 17, 2010 12:07 am
Posts: 1545
Location: That small peaceful place called Hell.
Reply with quote
Post 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
Profile
User avatar

Joined: Mon Oct 19, 2009 9:04 am
Posts: 302
Location: Under Your Bed
Reply with quote
Post Re: How do i make a unit spawn with a gun
Ok thanks a ton.


Sat Aug 28, 2010 5:31 am
Profile YIM
Display posts from previous:  Sort by  
Reply to topic   [ 3 posts ] 

Who is online

Users browsing this forum: Google [Bot]


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

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.028s | 14 Queries | GZIP : Off ]