OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting Multiplayer => Topic started by: Cam51 on 30 Apr 2003, 17:18:14

Title: Death Limiter?
Post by: Cam51 on 30 Apr 2003, 17:18:14
Is there a way to limit the number of deaths u can have in that single mission.

Ex.  Each player gets 3 lives.  Player 1 dies 3 times he can no longer respawn and is out of the game?

I wont be at my computer for a awhile, and im planning a mission,  and i forgot.... well.... does East have mortar capabilities for the AK74?  If not, then, is all that East has just grenades out of the AK74+Grenade Launcher?  Was hoping to have both sides fairly equal, since mortars have a larger blast radius, range,  and deal out more damage.

THnx.
Title: Re:Death Limiter?
Post by: Terox on 01 May 2003, 01:01:08
The way folks have done it in the past, is to have their player respawn into an area away from the playing field, eg into a fenced area or onto an island with no chance of escape

perhaps using a repeating trigger
condition: !alive w1

and have this trigger execute a script that increments a count for that player
then if
count ==3: getpos setpos onto your prison respawn  marker

something on those lines
Title: Re:Death Limiter?
Post by: B-2-0 on 21 May 2003, 23:10:13
And yes, the AK's are mortar compatable. ;)