road blockades

JOHNKAUB

Member
i am trying to set up road blocks with ai. ive done all the map editing and have added in the code.

Code:
// 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;
 
 
[SAR_marker_block10,3,4,2,"fortify",true] call SAR_AI;

it would appear that the ai does spawn, i think, but not on that xyz, and they seem to roam. would changing it to ambush be better? i was wondering if there was a way to make them spawn in place and hold area. ide assume it has to do with?:

Code:
_this setMarkerSize [200, 200];
_this setMarkerDir 120.050;

any help with alt code or suggestions would be greatly appreciated.

i am pretty sure the quards are correct, i have each on spawning in the exact xyz as a lit fire. could the shared xyz be the issue?


side questiong, i do know that the ai helis can be set to be more aggressive via the west/east swap. where dio i adjust that at?

tyvm inadvance, bear with me, ive had a million question and have figured them all out, i am just getting to the end of my ability ;) (new to coding)
 
DEAD THREAD: got it... changed "_this setMarkerSize [200, 200];" too "_this setMarkerSize [5, 5];" they spawn on top of spot and hold... ty
 
Back
Top