Files
DayZ-Epoch/dayz_code/actions/call_zombies.sqf
vbawol 3c9df28ead 0.981 + 1.7.6.1 CE
+ Increased raise horde distance to 65m.
+ decreased raise horde action timer to 7 seconds.
+ sync with 1.7.6.1 CE
2013-02-26 20:05:35 -06:00

23 lines
530 B
Plaintext

private ["_item","_id"];
_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;
_id = [player,65,true,(getPosATL player)] spawn player_alertZombies;
// wait a bit
sleep 7;
// allow menu again
s_player_callzombies = -1;
// cutText ["Calling Zombies...", "PLAIN DOWN"];