Robustcolor 30 Posted October 17, 2019 Hi, what am i doing wrong here? I get some sort of scalar error. _ao = getMarkerpos "Marker1"; _aosize = getMarkersize "Marker1"; _pos1 = [_ao, 0, 150, 5, 0, 0.4, 0, [], _ao] call BIS_fnc_findSafePos; Share this post Link to post Share on other sites
killzone_kid 1326 Posted October 17, 2019 You are not using getMarkerSize result Share this post Link to post Share on other sites
Robustcolor 30 Posted October 17, 2019 Sorry, i just noticed. It works when not using the _aosize = getMarkersize "Marker1"; This code gives a scalar error. _pos1 = [_ao, 0, _aosize, 5, 0, 0.4, 0, [], _ao] call BIS_fnc_findSafePos; Share this post Link to post Share on other sites
killzone_kid 1326 Posted October 18, 2019 getMarkerSize returns array of numbers, read wiki Share this post Link to post Share on other sites
Robustcolor 30 Posted October 18, 2019 I guess it would had to look something like this with choosing axisA for the radius on my Marker1. _ao = getMarkerpos "Marker1"; _aosize = getMarkerSize "Marker1"; _axisA = _aosize select 0; _radius = _axisA; _pos1 = [_ao, 0, _radius, 5, 0, 0.4, 0, [], _ao] call BIS_fnc_findSafePos; Share this post Link to post Share on other sites