From fa2ded3c2715c33d9c1bbd6d99d7905084623671 Mon Sep 17 00:00:00 2001 From: "[VB]AWOL" Date: Wed, 22 Jan 2014 11:54:52 -0600 Subject: [PATCH] setpos to get better placement of preview poles --- SQF/dayz_code/compile/object_showPlotRadius.sqf | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/SQF/dayz_code/compile/object_showPlotRadius.sqf b/SQF/dayz_code/compile/object_showPlotRadius.sqf index 42eb39b47..83d6afd7d 100644 --- a/SQF/dayz_code/compile/object_showPlotRadius.sqf +++ b/SQF/dayz_code/compile/object_showPlotRadius.sqf @@ -15,6 +15,5 @@ _BD_center = getPos _nearPlotPole; for "_i" from 0 to 360 step (270 / _BD_radius) do { _location = [(_BD_center select 0) + ((cos _i) * _BD_radius), (_BD_center select 1) + ((sin _i) * _BD_radius), _BD_center select 2]; _object = "Plastic_Pole_EP1" createVehicleLocal _location; - _dir = ((_BD_center select 0) - (_location select 0)) atan2 ((_BD_center select 1) - (_location select 1)); - _objects set [count _objects, _object]; + _object setpos _location; };