plot pole radius preview

This commit is contained in:
HARLAN
2013-12-09 11:41:12 -05:00
parent f3130d2e37
commit 339e77e8d9

View File

@@ -190,11 +190,14 @@ if (!isNull cursorTarget and !_inVehicle and !_isPZombie and (player distance cu
_player_lockUnlock_crtl = false;
if (_canDo && (speed player <= 1) && (_cursorTarget isKindOf "Plastic_Pole_EP1_DZ")) then {
s_player_plotpole_preview = player addAction ["<t color=""#ffffff"">Preview Plot Radius</t>", "\z\addons\dayz_code\compile\object_showPlotRadius.sqf",[], 0, false, true, "", ""];
if (s_player_maintain_area < 0) then {
s_player_maintain_area = player addAction ["<t color=""#ffffff"">Maintain Area</t>", "\z\addons\dayz_code\actions\maintain_area.sqf", "maintain", 5, false];
s_player_maintain_area_preview = player addAction ["<t color=""#ccffffff"">Maintain Area Preview</t>", "\z\addons\dayz_code\actions\maintain_area.sqf", "preview", 5, false];
};
} else {
player removeAction s_player_plotpole_preview;
s_player_plotpole_preview = -1;
player removeAction s_player_maintain_area;
s_player_maintain_area = -1;
player removeAction s_player_maintain_area_preview;