mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 19:52:38 +03:00
Set eventhandlers for viral zeds for better mod support
This commit is contained in:
@@ -21,7 +21,13 @@
|
||||
BleedChance = 30;
|
||||
forcedSpeed = 6;
|
||||
|
||||
//Inherits eventHandlers from zZombie_Base
|
||||
class Eventhandlers
|
||||
{
|
||||
init = "_this call zombie_initialize;";
|
||||
local = "_z = _this select 0; if (!(_this select 1)) exitWith {}; if (isServer) exitWith { _z call sched_co_deleteVehicle; }; [_z,true] call zombie_initialize;";
|
||||
HandleDamage = "_this call local_zombieDamage;";
|
||||
Killed = "[_this,'zombieKills'] call local_eventKill;";
|
||||
};
|
||||
|
||||
class HitPoints {
|
||||
class HitHead {
|
||||
|
||||
Reference in New Issue
Block a user