mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-06-13 21:31:56 +03:00
Update zombie_agent.fsm
Vanilla commits: https://github.com/DayZMod/DayZ/commit/3571cf93849d27bf23f77b053d7caf4a79b7baf7 https://github.com/DayZMod/DayZ/commit/728c83bdbd6ae834a4ee0dd4b2f84e0e466c754f
This commit is contained in:
@@ -26,7 +26,8 @@ class Citizen1: Citizen {
|
||||
class Zed_Base : Citizen1 {
|
||||
scope = public;
|
||||
class HitDamage {};
|
||||
armor = 3;
|
||||
armor = 3;
|
||||
agentTasks[] = {};
|
||||
};
|
||||
class zZombie_Base : Zed_Base {
|
||||
scope = public;
|
||||
@@ -180,6 +181,16 @@ class z_villager3 : z_villager1 {
|
||||
hiddenSelectionsTextures[] = {"\ca\characters2\civil\villager\data\villager_v3_co.paa"};
|
||||
};
|
||||
|
||||
class z_villagertest : z_villager1 {
|
||||
hiddenSelectionsTextures[] = {"\ca\characters2\civil\villager\data\villager_v3_co.paa"};
|
||||
class Eventhandlers
|
||||
{
|
||||
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 z_priest : zZombie_Base {
|
||||
displayName = $STR_ZNAME_PRIEST;
|
||||
zombieLoot = ZombieCivilian;
|
||||
|
||||
Reference in New Issue
Block a user