Mongoose_84 0 Posted December 17, 2006 is there a command for changing a unit's number within it's group? i couldn't find anything, but i need to do that, so i can select the unit that is used for group respawning - by making it the new number 1. or maybe i can switch numbers with the dead player's unit? edit: or if that just isn't possible, i need a way to select the unit with the highest number in the group, so i can run a script on that unit, before the player takes control of it. Share this post Link to post Share on other sites
ColonelSandersLite 0 Posted December 17, 2006 The number of the soldier inside a group is the order theyre added. If someone leaves, his slot will be taken up by the next unit to join. The only way to reoreder them would be to split them off the main group, then add readd them all to the group in the order you want. At least in ofp. Not 100% positive for arma. Share this post Link to post Share on other sites
Mongoose_84 0 Posted December 18, 2006 thx for the reply, so i assume there's no other way then but to - remove the player from the group the moment he dies - remove the unit you want to respawn into as well - add that unit to the group again (it will automatically be nr. 1, right?) - add the player to the group again, so the entire group respawn thing will work is there a simpler way, perhaps? Share this post Link to post Share on other sites
Mongoose_84 0 Posted December 18, 2006 it works pretty much as i expected. only the respawn script doesn't play along... it seems to pick the next player's unit even before i can change the order inside of the killed-eventHandler. so although there's a new number one instantly after the player's death, it seems to always pick the following one. is that even how it works? i mean, does group respawning always pick the highest available number? or does it prefer a lower number then the dead unit was, for example? or does it work differently? ... by now however, i would rather just disable/override the default respawn scripts - no dove either, just want the game not to stop running as normal, after a player's death, so i can switch player units myself (i hope that's even possible in MP). i guess, a simple removeAllEventHandlers command won't do the trick, will it? Share this post Link to post Share on other sites