Files
DayZ-Epoch/dayz_code/actions/call_zombies.sqf
2013-05-26 12:23:31 -05:00

23 lines
514 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
sleep 3;
// allow menu again
s_player_callzombies = -1;
// cutText ["Calling Zombies...", "PLAIN DOWN"];