Okey, i dont know if this has been up before, i couldnt find anything.
iam trying to check if a marker has changed color.. it is for using EOS with tasks.
MapClickEOS_Patrol =
{
// Create EOS Zone
_Size = _this select 0;
_groups = _this select 1;
_grpSize = _this select 2;
_Pos = _this select 3;
// Create Marker Zone
_m = createMarker [format ["Patrol%1", Random 1000],_pos];
_m setMarkerShape "ELLIPSE";
_m setMarkerSize [_size,_size];
_m setMarkerBrush "Solid";
_m setMarkerColor "ColorRed";
// Close map
titletext ["Zone Created",""];
// Create EOS Zone
null = [[_m],[0,0],[_groups,_grpSize,100],[0,0],[0],[0],[0,0],[5,0,300,EAST,TRUE]] call EOS_Spawn;
sleep 5;
waitUntil {sleep 5; getMarkerColor _m == "ColorGreen"};
hint "Area CLEAR";
};
i get expression error no matter what i do :(
i know its probably something small but i cant figure it out, everything works as it should except the waituntil....