When I add Ai in my map they dont spawm
Code:
// sav island char
_this = createMarker ["SAR_area_admin", [16608.1,8549.23,0.001]];
_this setMarkerShape "RECTANGLE";
_this setMarkeralpha 0;
_this setMarkerType "Flag";
_this setMarkerBrush "Solid";
_this setMarkerSize [200, 200];
_this setMarkerDir 120.050;
SAR_marker_castle = _this;
// sav island2 tom
_this = createMarker ["SAR_area_admin", [11831.3,20987.4,0.001]];
_this setMarkerShape "RECTANGLE";
_this setMarkeralpha 0;
_this setMarkerType "Flag";
_this setMarkerBrush "Solid";
_this setMarkerSize [200, 200];
_this setMarkerDir 120.050;
SAR_marker_castle2 = _this;
// sav island3 tom
_this = createMarker ["SAR_area_admin", [13199.9,16651.4,0.001]];
_this setMarkerShape "RECTANGLE";
_this setMarkeralpha 0;
_this setMarkerType "Flag";
_this setMarkerBrush "Solid";
_this setMarkerSize [200, 200];
_this setMarkerDir 120.050;
SAR_marker_castle3 = _this;
// sav island4 tom
_this = createMarker ["SAR_area_admin", [11971,20993,0.001]];
_this setMarkerShape "RECTANGLE";
_this setMarkeralpha 0;
_this setMarkerType "Flag";
_this setMarkerBrush "Solid";
_this setMarkerSize [200, 200];
_this setMarkerDir 120.050;
SAR_marker_castle4 = _this;
// sav island5 char
_this = createMarker ["SAR_area_admin", [13199.9,16651.4,0.001]];
_this setMarkerShape "RECTANGLE";
_this setMarkeralpha 0;
_this setMarkerType "Flag";
_this setMarkerBrush "Solid";
_this setMarkerSize [200, 200];
_this setMarkerDir 120.050;
SAR_marker_castle5 = _this;
// sav island6 tom
_this = createMarker ["SAR_area_admin", [11990.6,21137,0.001]];
_this setMarkerShape "RECTANGLE";
_this setMarkeralpha 0;
_this setMarkerType "Flag";
_this setMarkerBrush "Solid";
_this setMarkerSize [200, 200];
_this setMarkerDir 120.050;
SAR_marker_castle6 = _this;
Code:
//sav island char
[SAR_marker_castle,3,4,6,"patrol",true] call SAR_AI;
//sav island tom
[SAR_marker_castle2,3,4,6,"fortify",true] call SAR_AI;
//sav island tom
[SAR_marker_castle3,3,4,6,"fortify",true] call SAR_AI;
//sav island tom
[SAR_marker_castle4,3,4,6,"fortify",true] call SAR_AI;
//sav island char
[SAR_marker_castle5,3,4,6,"patrol",true] call SAR_AI;
//sav island tom
[SAR_marker_castle6,3,4,6,"fortify",true] call SAR_AI;