Jump to content
Sign in to follow this  
Naiss

disable respawn timer

Recommended Posts

okey so im making a revive script and the only problem i got right now is that how can i disable the respawn timer in the Description file with out removing the respawn for the file.

Share this post


Link to post
Share on other sites

no he will still spawn to Respawn_west i need to make it so when the script file is done like i got a timer so when the timer is done then he will respawn

Share this post


Link to post
Share on other sites

I'm so confused by what you are asking.

Revive scripts work, generally, by not killing the player at all. But rather, putting them into a "downed" state when they take enough damage. Then after a certain amount of time, if not revived, the script actually kills the player and then the normal respawn takes over.

Share this post


Link to post
Share on other sites

will i do it like this then player setdamage 0.5; or something and then when timer is out player setdamage 1;

Share this post


Link to post
Share on other sites

Just use the timer as a condition. The timer is a variable, so in this example lets just say its _timer. You could do it in many ways.

hint "Wait for the timer!";
waitUntil {_timer == 0};
hint "You're dead chump!";
billybob setDamage 1;

while {_timer > 0} do {
    hint "You're not dead yet!";
};
hint "Now you're dead!";

Share this post


Link to post
Share on other sites

okey i will try this and thanks for the help

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  

×