[Release] Make a specific player's body hide instantly upon death.

Freaking Fred

OpenDayZ Rockstar!
Help and discussion for hiding a specific players body upon death begins here...
Hi Freaking Fred, is there a way to hide the body after a certain amount of time? Like wait 360 secs?
Thanks for your wardrobe script, it works like a charm. Keep the good work up.
Greetings DonProtz


You may just be able to add a sleep command. Find the following code
Code:
if ((getPlayerUID player) in ["#########"]) then {
hideBody player;
};
and try changing it to
Code:
if ((getPlayerUID player) in ["#########"]) then {
sleep 360;
hideBody player;
};
 
Hey Fred, thx for your quick repley. Now when a player died he is dead and cant hit escape to abort... after the 360 secs he can abort and respawns. Greetings Don
 
Hey Fred, thx for your quick repley. Now when a player died he is dead and cant hit escape to abort... after the 360 secs he can abort and respawns. Greetings Don


Hmm. You could try moving that whole section of code
Code:
if ((getPlayerUID player) in ["113609606"]) then {
sleep 360;
hideBody player;
};
to the end of the file. I haven't messed with it much for different configurations.
 
Back
Top