mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 04:02:37 +03:00
Add A Plot For Life modification by RimBlock
A Plot For Life also includes Precise Base Building by Mikeeeyy. Precise base building has no variable to switch it on or off, I don't think it should. Seems to work well enough, this may conflict with the duplicate object uid fix, it appears to spam my server rpt.
This commit is contained in:
@@ -212,7 +212,10 @@ if (isPlayer cursorTarget) then {
|
||||
if (_unit isKindOf "Man") then {
|
||||
// should only fire if cursor target is man and not vehicle
|
||||
_charID = _unit getVariable ["CharacterID", 0];
|
||||
_friendlies = player getVariable ["friendlies", []];
|
||||
if (DZE_plotforLife) then {
|
||||
_charID = [_unit] call FNC_GetPlayerUID;
|
||||
};
|
||||
_friendlies = [player, _unit, DZE_plotManagement] call FNC_check_owner;
|
||||
if !(_charID in _friendlies) then {
|
||||
r_action = true;
|
||||
_action = _unit addAction ["Tag as friendly", "\z\addons\dayz_code\actions\player_tagFriendly.sqf", [], 0, false, true];
|
||||
|
||||
Reference in New Issue
Block a user