mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-22 20:12:20 +03:00
Update private tags
From
e69f8d5306
Moved dog files to the \dog\ folder and pzombie files to the \pzombie\
folder. Also removed some legacy files that are no longer used.
The actions\ and compile\ folders are fully up to date now
This commit is contained in:
23
SQF/dayz_code/actions/pzombie/call_zombies.sqf
Normal file
23
SQF/dayz_code/actions/pzombie/call_zombies.sqf
Normal file
@@ -0,0 +1,23 @@
|
||||
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"];
|
||||
@@ -7,7 +7,7 @@ disableSerialization;
|
||||
player removeAction s_player_butcher;
|
||||
s_player_butcher = 1;
|
||||
|
||||
if(!(alive _item)) then {
|
||||
if !(alive _item) then {
|
||||
|
||||
_rnd = (round(random 4)) + 1;
|
||||
_move = "ZombieFeed" + str(_rnd);
|
||||
@@ -68,7 +68,7 @@ if(!(alive _item)) then {
|
||||
|
||||
[player,"eat",0,false] call dayz_zombieSpeak;
|
||||
|
||||
// todo: dump loot on ground && then remove
|
||||
// todo: dump loot on ground and then remove
|
||||
|
||||
//Ensure Control is visible
|
||||
_display = uiNamespace getVariable 'DAYZ_GUI_display';
|
||||
|
||||
Reference in New Issue
Block a user