ACES_KEVIN 0 Posted October 15, 2002 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
RED 0 Posted October 16, 2002 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
Balschoiw 0 Posted October 16, 2002 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
InqWiper 0 Posted October 16, 2002 ========================================== _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
ACES_KEVIN 0 Posted October 16, 2002 Thanks guys testin them right now ! Pray for me! Kevin Share this post Link to post Share on other sites
ACES_KEVIN 0 Posted October 16, 2002 </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
Balschoiw 0 Posted October 17, 2002 I could send you the reloadguy script with example Share this post Link to post Share on other sites
hugo2020 0 Posted October 17, 2002 look at the new flag fight hand gun mission, there is hand gun respawn. Share this post Link to post Share on other sites
InqWiper 0 Posted October 17, 2002 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
ACES_KEVIN 0 Posted October 18, 2002 Thanks im suing inqwipers script thinks it gon work just fine. Thanks for ya help good lil script ya got there. Kevin Share this post Link to post Share on other sites
Placebo 29 Posted October 18, 2002 </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 Share this post Link to post Share on other sites