OFPEC Forum

Editors Depot - Mission Editing and Scripting => Arma2 - Editing/Scripting Multiplayer => Topic started by: SaS TrooP on 21 Aug 2010, 17:23:38

Title: Respawndelay a Params
Post by: SaS TrooP on 21 Aug 2010, 17:23:38
I want to create a parameter available in the lobby which defines the respawn time for playable units. I will have no bigger problems (I think!) with playtime and side of guerilla, but last 2 things are defined in scripts, while respawn delay is set in description.

How to get it working?
Title: Re: Respawndelay a Params
Post by: kju on 21 Aug 2010, 19:46:18
You cannot modify the value.

You need a custom handling for respawning units.
Like moving them off map, black screen and beam them back at your desired moment.

See: cDeathHandler.sqf (http://dev-heaven.net/projects/ans-promode/repository/revisions/master/entry/dev/TM.Desert_E/cDeathHandler.sqf)

Acc: guest/guest