Jump to content
Sign in to follow this  
ACES_KEVIN

Spawn with handgun

Recommended Posts

Hey i was wonderin what first i have to put to make a soldier spawn wit a glock instead of a M16? I can do it the first time but i want them to spawn everytime with a Glock. How can i do this please help!

Kevin

Share this post


Link to post
Share on other sites

Have a trigger/script that detects if the soldier has been killed then removes all his weapons then adds new ones (after the respawn timer, ie 5 seconds).

RED

Share this post


Link to post
Share on other sites

triggers are not the best solution.

Check out a script called "Reloadguy" at www.ofpec.com.

In the script you can define the loadout after respawn for every soldier class.

Share this post


Link to post
Share on other sites

==========================================

_Unit=_this select 0

#Loop

@!alive _Unit

~20 (or whatever is the respawndelay)

removeallweapons _Unit

_Unit addmagazine "GlockMag"

_Unit addmagazine "GlockMag"

_Unit addmagazine "GlockMag"

_Unit addmagazine "GlockMag"

_Unit addweapon "Glock"

_Unit selectweapon "Glock"

goto "Loop"

=============================================

I think that should work if you exec it in everyones init field but I havent tested it so Im not 100% srue.

Share this post


Link to post
Share on other sites

</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote </td></tr><tr><td id="QUOTE">Check out a script called "Reloadguy" at www.ofpec.com.

In the script you can define the loadout after respawn for every soldier class.<span id='postcolor'>

This wasnt there or atleast i searched and asked and i couldnt find it.

and InqWiper i entered ti in exactly as u put it here and had no luck soo. I dont know not workin for me in 1.85?

Any other ideas?

Kevin

Share this post


Link to post
Share on other sites

If you use my script you mut type the following in every units init field:

[this] exec "Addweapon.sqs"

or whatever you name the script.

Still Im not 100% sure its working but I think it should since its the way I made it for my mission unless theres some minor error i missed.

-Edit

You could also try to add 0.1 seconds to the wait so that if the respawndelay is 20 the script will wait for 20.1.

Share this post


Link to post
Share on other sites

Thanks im suing inqwipers script thinks it gon work just fine. Thanks for ya help good lil script ya got there. biggrin.gif

Kevin

Share this post


Link to post
Share on other sites

</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote (ACES_KEVIN @ Oct. 18 2002,22:32)</td></tr><tr><td id="QUOTE">Thanks im suing inqwipers script<span id='postcolor'>

You must be American wink.gif

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  

×