OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting Multiplayer => Topic started by: Mike on 16 Oct 2002, 21:27:44

Title: Respawn On/Off
Post by: Mike on 16 Oct 2002, 21:27:44
I have a mission where u finish 2-3 objectives before a final big battle.. I want to only be able to respawn at the start of the siege. So if u die in durring the objectives you dont respawn..
Title: Re:Respawn On/Off
Post by: sussmori on 17 Oct 2002, 03:45:38
There is no way to turn respawn on and off. However, you always move the respawn to some prison type place and strip players of weapons when you wish to turn if 'off'
Title: Re:Respawn On/Off
Post by: Mike on 18 Oct 2002, 09:05:09
is there a way to respawn someone just 1 or 2 times?
Title: Re:Respawn On/Off
Post by: ArchAngel on 18 Oct 2002, 11:53:31
Yes there is, all u have to do is for the trigger that activates the respawn script, make it only activate once, rather than repeatedly.  However there is a way to get ur guys to respawn repeatedly after the waypoints have been reached, create a trigger that activates the respawn script, with a condition of alive player etc (i.e player being the name of the guy uwant to respawn) and syncronise the trigger with the waypoint that u want the respawning to begin at.
Title: Re:Respawn On/Off
Post by: Mike on 18 Oct 2002, 21:30:08
could I get an example of a respawn script.. I have 6 players R1-R6