Linelor 10 Posted December 20, 2009 My clan is working on a campaign for us to play that is using ACE2 and is basically following 2 US Army squads through missions on Quesh-Kibrul. Basically the missions involve 12 infantry and 2 M2A2 Bradly IFVs. What we want to do is make it so that when someone dies they only have a limited number of lives, maybe 2 or 3, and when someone dies they respawn on the Bradly attached to their squad. The only problem is I want the player to spawn with the loadout they died with so that they don't have refreshed ammo, etc. I really have no idea how to do any of this as I suppose it involves some scripting. If anyone can help it would be greatly appreciated. Again, in a nutshell I need to know: How to do limited lives. How to attach squad's respawns to a Bradley How to save the loadout they had when they died when they respawn Thanks ahead of time. Share this post Link to post Share on other sites
shuko 45 Posted December 20, 2009 Heres a basic idea for the loadout: waituntil {!isnull player}; while {true} do { waituntil {!alive player}; _w = weapons player; _m = magazines player; waituntil {alive player}; removeallweapons player; { player addmagazine _x } foreach _m; { player addweapon _x } foreach _w; }; Share this post Link to post Share on other sites
xeno 184 Posted December 20, 2009 What you are looking for is this: http://forums.bistudio.com/showthread.php?t=74396 Xeno Share this post Link to post Share on other sites
Linelor 10 Posted December 20, 2009 What you are looking for is this:http://forums.bistudio.com/showthread.php?t=74396 Xeno Not really because we had intended to use the first aid stuff. The revive isn't bad but it is glitchy at times and not exactly what we want. Share this post Link to post Share on other sites
norrin 9 Posted December 20, 2009 Unfortunately I don't have a lot of time so I can't write anything specifically for you but these may be of help: This is not exactly what you are after but limits player respawns to a team pool of respawns: http://www.ofpec.com/forum/index.php?topic=33731.0 Also code for ACE ruck respawns (for players only) - if you want to use it: http://ausarma.org/forum/viewtopic.php?f=10&t=132 Share this post Link to post Share on other sites