Files
DayZ-Epoch/SQF/dayz_code/actions/call_zombies.sqf
icomrade c3ed4e49e1 Replace sleep with uiSleep
see the below links for more info. uiSleep is based off of a more
accurate method of tracking time, whereas sleep can fluctuate depending
on application performance since it is based on framerate.
https://community.bistudio.com/wiki/uiSleep
https://community.bistudio.com/wiki/sleep_vs_uiSleep
https://community.bistudio.com/wiki/sleep
2016-02-17 13:03:17 -05:00

24 lines
529 B
Plaintext

private [];
//_item = _this select 3;
// remove menu
player removeAction s_player_callzombies;
s_player_callzombies = 1;
// player playActionNow "Surrender";
// for now try reseting animation when this is called to test preventing animation lockups
// player switchMove "";
[player,"spotted",0,false] call dayz_zombieSpeak;
[player,100,true,(getPosATL player)] spawn player_alertZombies;
// wait a bit
uiSleep 3;
// allow menu again
s_player_callzombies = -1;
// cutText [(localize "STR_EPOCH_ACTIONS_1"), "PLAIN DOWN"];