OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Crook on 02 Feb 2004, 05:32:47
-
I wondering if there was a way to have a player respawn before the time set in the description.ext... Example: like how Counter Strike, Raven Shield, and America's Army... it waits until the team is dead before it respawns...
Any help on how I would go about acomplishing this would be much appreciated 8)
-
shouldn't this go in the multiplayer section?
-
probably... but that doesn't answer my question... :-\
-
You could add a killed eventhandler to all the units to run a script locally on the killed clients machine. The script could setpos the player to a remote location and create a camera or a black in or whatever which could tell the number of alive players. When all are dead the script would setpos the player to the respawn area and exit.
I'm not at home and can't go into it any more, but I think something like this could be build.