mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-17 09:10:27 +03:00
+ work around added to player zombie "get over" stuck animation issue. + added setpos to vaults, allows precise positioning + possible fix for damage spam at server start. + added player zombie attack move, Works with animals and zombies only currently. + 10oz bars for all types of metal + fix for detecting near vehicles when selling fixes #81
23 lines
531 B
Plaintext
23 lines
531 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,50,true,(getPosATL player)] spawn player_alertZombies;
|
|
|
|
// wait a bit
|
|
sleep 15;
|
|
|
|
// allow menu again
|
|
s_player_callzombies = -1;
|
|
|
|
// cutText ["Calling Zombies...", "PLAIN DOWN"]; |