fish44 0 Posted August 19, 2007 1.Is there a way to retain the weapons  load out after a unit has respawned. (i know there was a script for OPF). 2. How do I make the body hide when the new respawn appears 3. How would i force all units to respawn, if one unit is killed? Thanks in advance Share this post Link to post Share on other sites
fish44 0 Posted August 20, 2007 Maybe i have posted this in the wrong section ? Share this post Link to post Share on other sites
norrin 9 Posted August 21, 2007 Maybe i have posted this in the wrong section ? Yep. Wrong section m8. Anyway try this: http://www.armaholic.com/page.php?id=1554 Its a link to toadlife's OFP weapon respawn script that I converted for ArmA some months back. Â Works well in MP on both local and dedicated servers. Share this post Link to post Share on other sites
[frl]myke 14 Posted August 21, 2007 Quote[/b] ]1.Is there a way to retain the weapons load out after a unit has respawned. (i know there was a script for OPF). If you mean the units should get the loadout it had when killed, then look here. Quote[/b] ]2. How do I make the body hide when the new respawn appears There's a dead body & object removal system available here. Quote[/b] ]3. How would i force all units to respawn, if one unit is killed? Not sure what you tryin to achieve....maybe setposing rest of the group at respawn marker when one (or even a specific unit/player) dies? Some more info about what you're triyn to do would be nice. Share this post Link to post Share on other sites
zaphod 0 Posted August 21, 2007 easiest way (untested..) store players weapons/mags in variables (at any time you want): <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> cache_weapons=[]; cache_mags=[]; //set weapons... //cache_weapons=["SVD","RPG7VR"]; //...or get them from player cache_weapons=weapons player; //set magazines... cache_mags=["10Rnd....","PG7VR",....]; //...or get them from player cache_mags=magazines player; ...and restore them at any time you want with: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> //set weapons {player addweapon _x;} foreach cache_weapons; //set magazines {player addmagazine _x;} foreach cache_mags; Share this post Link to post Share on other sites