adding AI issue

JOHNKAUB

Member
AI works great...till i enter:

Code:
// blockade1
_this = createMarker ["SAR_area_admin", [5835.6201, 3976.6318,0]];
_this setMarkerShape "RECTANGLE";
_this setMarkeralpha 0;
_this setMarkerType "Flag";
_this setMarkerBrush "Solid";
_this setMarkerSize [200, 200];
_this setMarkerDir 120.050;
SAR_marker_block1 = _this;
 
// blockade2
_this = createMarker ["SAR_area_admin", [10768.428, 8138.1646,0]];
_this setMarkerShape "RECTANGLE";
_this setMarkeralpha 0;
_this setMarkerType "Flag";
_this setMarkerBrush "Solid";
_this setMarkerSize [200, 200];
_this setMarkerDir 120.050;
SAR_marker_block2 = _this;
 
// blockade3
_this = createMarker ["SAR_area_admin", [13008.582, 11550.582,0]];
_this setMarkerShape "RECTANGLE";
_this setMarkeralpha 0;
_this setMarkerType "Flag";
_this setMarkerBrush "Solid";
_this setMarkerSize [200, 200];
_this setMarkerDir 120.050;
SAR_marker_block3 = _this;
 
// blockade4
_this = createMarker ["SAR_area_admin", [10961.131, 9135.4102,0]];
_this setMarkerShape "RECTANGLE";
_this setMarkeralpha 0;
_this setMarkerType "Flag";
_this setMarkerBrush "Solid";
_this setMarkerSize [200, 200];
_this setMarkerDir 120.050;
SAR_marker_block4 = _this;
 
// blockade5
_this = createMarker ["SAR_area_admin", [12894.86, 6222.4297,0]];
_this setMarkerShape "RECTANGLE";
_this setMarkeralpha 0;
_this setMarkerType "Flag";
_this setMarkerBrush "Solid";
_this setMarkerSize [200, 200];
_this setMarkerDir 120.050;
SAR_marker_block5 = _this;
 
// blockade6
_this = createMarker ["SAR_area_admin", [1990.6467, 14644.443,0]];
_this setMarkerShape "RECTANGLE";
_this setMarkeralpha 0;
_this setMarkerType "Flag";
_this setMarkerBrush "Solid";
_this setMarkerSize [200, 200];
_this setMarkerDir 120.050;
SAR_marker_block6 = _this;
 
// blockade7
_this = createMarker ["SAR_area_admin", [480.25797, 1666.7794,0]];
_this setMarkerShape "RECTANGLE";
_this setMarkeralpha 0;
_this setMarkerType "Flag";
_this setMarkerBrush "Solid";
_this setMarkerSize [200, 200];
_this setMarkerDir 120.050;
SAR_marker_block7 = _this;
 
// blockade8
_this = createMarker ["SAR_area_admin", [10352.332, 3621.5862,0]];
_this setMarkerShape "RECTANGLE";
_this setMarkeralpha 0;
_this setMarkerType "Flag";
_this setMarkerBrush "Solid";
_this setMarkerSize [200, 200];
_this setMarkerDir 120.050;
SAR_marker_block8 = _this;
 
// blockade9
_this = createMarker ["SAR_area_admin", [3746.5962, 6028.3765,0]];
_this setMarkerShape "RECTANGLE";
_this setMarkeralpha 0;
_this setMarkerType "Flag";
_this setMarkerBrush "Solid";
_this setMarkerSize [200, 200];
_this setMarkerDir 120.050;
SAR_marker_block9 = _this;
 
// blockade10
_this = createMarker ["SAR_area_admin", [2779.9663, 5375.4033,0]];
_this setMarkerShape "RECTANGLE";
_this setMarkeralpha 0;
_this setMarkerType "Flag";
_this setMarkerBrush "Solid";
_this setMarkerSize [200, 200];
_this setMarkerDir 120.050;
SAR_marker_block10 = _this;
 
// Helflengurg Catle fortification
_this = createMarker ["SAR_area_admin", [8153.08,21278.6,0]];
_this setMarkerShape "RECTANGLE";
_this setMarkeralpha 0;
_this setMarkerType "Flag";
_this setMarkerBrush "Solid";
_this setMarkerSize [200, 200];
_this setMarkerDir 120.050;
SAR_marker_castle = _this;
// ----------------------------------------------------------------------------------------
// End of area marker definition section
// ----------------------------------------------------------------------------------------

and

Code:
// add here if needed
 
//blockades
[SAR_marker_block1,3,4,2,"fortify",true] call SAR_AI;
[SAR_marker_block2,3,4,2,"fortify",true] call SAR_AI;
[SAR_marker_block3,3,4,2,"fortify",true] call SAR_AI;
[SAR_marker_block4,3,4,2,"fortify",true] call SAR_AI;
[SAR_marker_block5,3,4,2,"fortify",true] call SAR_AI;
[SAR_marker_block6,3,4,2,"fortify",true] call SAR_AI;
[SAR_marker_block7,3,4,2,"fortify",true] call SAR_AI;
[SAR_marker_block8,3,4,2,"fortify",true] call SAR_AI;
[SAR_marker_block9,3,4,2,"fortify",true] call SAR_AI;
[SAR_marker_block10,3,4,2,"fortify",true] call SAR_AI;
 
//Admin Base Protection
[SAR_marker_castle,1,4,10,"fortify",true] call SAR_AI;
 
 
// ---- end of configuration area ----

in the "SAR_cfg_grps_chernarus.sqf" file. then no AI works at all. take it out works fine....put it back then BLEEEEEH.... help?
 
dont give em all the same name - Sar_area_admin. Change that, and the rest looks fine.
 
Thank you very much bud, this has breathed new life into dayz... i will test it out in a minute.

so i just change all the SAR_area_admin to like...
SAR_area_admin1
SAR_area_admin2
etc etc etc etc....

do i need to add a function for
SAR_area_admin1, SAR_area_admin2, etc anywhere else?
also, off subject... i know the whole change east and west thing to make all helismore aggressive. but where do i change that at?

ty again
 
Back
Top