mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-15 04:23:13 +03:00
1.7.5.D1216
This commit is contained in:
@@ -46,16 +46,6 @@ if (_isPlayer) then {
|
||||
if (_unit == player) then {
|
||||
if (_hit == "") then {
|
||||
if ((_source != player) and _isPlayer) then {
|
||||
//Dog defends player if within 50meters
|
||||
_listTalk = _pos nearEntities [["DZ_Fin, DZ_Pastor"], 100];
|
||||
{
|
||||
if (_x getVariable ["characterID", "0"] == dayz_characterID) then {
|
||||
_targets = _x getVariable ["targets",[]];
|
||||
_targets set [count _targets, _source];
|
||||
_x setVariable ["targets", _targets, true];
|
||||
};
|
||||
}foreach _listTalk;
|
||||
|
||||
//Enable aggressor Actions
|
||||
if (_source isKindOf "CAManBase") then {
|
||||
_source setVariable["startcombattimer",1];
|
||||
|
||||
Reference in New Issue
Block a user