I posted this over at the official forums but didn't get a response (not surprised because common conception is that this isn't possible). It was even asked in the respawn topic at the top of this forum. However - I have seen that it is possible to do this now!
I want to make a script that makes you respawn team until you have no one left and then respawn at..."respawn_west" marker.
I didn't think this was possible until I saw gwcti had the option to respawn team then at base when all were dead. Here's part of their code.
#SetRespawnTeam
_count = 0
_units = Units Group _respawnedUnit
_units = _units - [_respawnedUnit]
_totalUnits = Count _units
_nearestDistance = 100000
_nearestUnit = ObjNull
? (_totalUnits < 1):goto "InitUnit"
#InitUnit
? [_respawnedUnit] _respawnedUnit SetPos GetMarkerPos "Respawn_west"
I don't know what to do to activate this though. CTI has an option menu with a GUI within the game. I wanted something similar... that just does the script right off the bat.
Any ideas or does anyone have anything like this already?