mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 20:13:13 +03:00
Use nearEntities for plot pole searches
Also made 73899d5 compatible with DZE_permanentPlot = false; at the
request of @oiad
This commit is contained in:
@@ -6,7 +6,7 @@ _density = 3; // density of markers per ring
|
||||
_model = "Sign_sphere100cm_EP1"; // marker model to use on rings
|
||||
// Possible ones to use :: Sign_sphere10cm_EP1 Sign_sphere25cm_EP1 Sign_sphere100cm_EP1
|
||||
|
||||
_thePlot = (nearestObjects [player, ["Plastic_Pole_EP1_DZ"],15]) select 0;
|
||||
_thePlot = (([player] call FNC_getPos) nearEntities ["Plastic_Pole_EP1_DZ",15]) select 0;
|
||||
_center = getPosASL _thePlot;
|
||||
_radius = DZE_PlotPole select 0;
|
||||
_obj = false;
|
||||
|
||||
Reference in New Issue
Block a user