mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-06-13 13:21:57 +03:00
Update zombie generate
Vanilla commits: https://github.com/DayZMod/DayZ/commit/09aa9f8879b40013e852e2c8333ab2a219cff25e https://github.com/DayZMod/DayZ/commit/68be696c4d91b59bc144267b189d90280abbcb46
This commit is contained in:
@@ -52,9 +52,11 @@ class zZombie_Base : Zed_Base {
|
||||
|
||||
class Eventhandlers
|
||||
{
|
||||
init = "_this call zombie_initialize;";
|
||||
init = "_this execFSM ""\z\AddOns\dayz_code\system\zombie_agent.fsm""";
|
||||
//local = "_z = _this select 0; if ((!isServer and !isNull _z) and {(side _z != civilian)}) exitWith { PVDZ_sec_atp = [ 'wrong side', player ]; publicVariableServer 'PVDZ_sec_atp'; deleteVehicle _z; }; if (!(_this select 1)) exitWith {}; if (isServer) exitWith { _z call sched_co_deleteVehicle; }; [(position _z), _z, true] execFSM '\z\AddOns\dayz_code\system\zombie_agent.fsm';";
|
||||
local = "_z = _this select 0; if (!(_this select 1)) exitWith {}; if (isServer) exitWith { _z call sched_co_deleteVehicle; }; [(position _z), _z, true] execFSM '\z\AddOns\dayz_code\system\zombie_agent.fsm';";
|
||||
HandleDamage = "_this call local_zombieDamage;";
|
||||
Killed = "[_this,'zombieKills'] call local_eventKill;";
|
||||
};
|
||||
|
||||
class UserActions
|
||||
|
||||
Reference in New Issue
Block a user