Jump to content
Sign in to follow this  
Jimbob75

Change starting loadout of Vehicle crew

Recommended Posts

Hello,

I was wondering if it is possible, to change what weapons and equipment a tank crewman (Already inside a tank) would spawn with for example. Is there anyway of doing this with Addweapon and Removeweapon etc? I'd like to make tank crewman spawn with RH mod UZIs instead of AK-74Us.

Thank you :bounce3:

Share this post


Link to post
Share on other sites

Should be able to, just put something like this in the init line.

removeAllWeapons this; this addWeapon ""; this addMagazine ""; this addMagazine "";

of course your weapons classname and magazine classname go in the quotes.

Share this post


Link to post
Share on other sites

init line of tank:

c = crew this; {removeAllWeapons _x; _x addMagazine "30Rnd_556x45_Stanag"; _x addWeapon "M4A1"; }foreach c;

Share this post


Link to post
Share on other sites

Thanks for the reply Clowns, but I actually meant whilst the crew is already inside the vehicle, so if I just put a T72 in the editor, what would I type into that or a trigger, to make the crew inside, spawn with different weapons. Sorry I wasn't very clear.

---------- Post added at 11:45 AM ---------- Previous post was at 11:43 AM ----------

Cuel, that worked like a treat, many thanks :)

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×