Hey! I am having an issue with the createMarker func. I have all the markers placed down, i search through many forums, but couldn't figue what could cause the problem. Any help would be appreciated!
_ma1 = getPosATL marker1;
_ma2 = getPosATL marker2;
_ma3 = getPosATL marker3;
_ma0 = getPosATL marker0;
_newpos = +_ma1;
_newpos set [1, (_newpos select 1) + random [500, 800, 1000]];
_newpos set [2, (_newpos select 2) + 1];
_newpos set [0, (_newpos select 0) + 1];
player setpos (_ma1);
"respawn_west_1" setMarkerPos (_ma1);
_respawneast = createMarker ["Runner Spawn", _newpos]; //the issue is with this one: error 0 elements provided, expected 3//
_respawneast setMarkerType "b_med";
_respawneast setMarkerColor "ColorRed";
Edit: The goal of this script would be that the _respawneast marker would be at a random location of the _respawn_west_1 marker.