hi guys,
i had actually posted this question earlier in the multiplayer section
trying my luck for some answers here.
the main aim limit all the players' respawns to 3 times (replacing AI), making them stay dead/respawn as bird the 4th time they die.
i have only managed to make things work the way i want it for 1 player instead of all.
----------
method
----------
1.entering the following line into init of the soldier thru mission editor.
this addEventHandler ["killed", {_this exec "respawn.sqs"}]
2. description.ext
respawn=4
respawndelay=1
3. init.sqs
deathcounter1 = 0
publicVariable "deathcounter1"
4. attached file. respawn.sqs
tried repeating step 1 for other players but doesn't work out.
have anyone done this before?
limiting the respawns for all players
can someone somehow help/guide me make this method global to all players in the mission, pls?
All help will be much appreciated. Thank You.