Jump to content
Sign in to follow this  
bigshot

My Little Respawn Conundrum

Recommended Posts

My mission needs to begin with respawn=3 (base) in the description.ext. BUT...during the mission if there's a certain event that occurs I'd like to be able to change that value to either 0 or 1...so what i need to know is if theres anyway to start a mission with base respawn and then remove respawn at some point after the mission begins?

Deleting the respawn_west marker does not stop the player from respawning...it simply respawns you at location where you started mission...so that command is useless for me.

I dont need the trigger or event info...I just need to know how to illiminate the ability to respawn in MP AFTER the mission starts AND without ending the mission if there are multiple players online.

Is it allowed?

Share this post


Link to post
Share on other sites
... I just need to know how to illiminate the ability to respawn in MP AFTER the mission starts AND without ending the mission if there are multiple players online...

I do not know if you can change the player's respawn type on the fly. I do know you could increase their respawn time. Maybe after a certain amount of deaths, you could give infinite respawn time or something. Anyhow:

Example

player addEventHandler ["respawn", {
setPlayerRespawnTime (playerRespawnTime + 10); // increase the player's NEXT respawn time by 10
}];

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×