Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
// MY TEST - STATIC
_this = createMarker ["SAR_area_TEST", [79.59, 1523.29]];
_this setMarkerShape "RECTANGLE";
_this setMarkeralpha 0;
_this setMarkerType "Flag";
_this setMarkerBrush "Solid";
_this setMarkerSize [50, 50];
_this setMarkerDir 59.354115;
SAR_area_TEST = _this;
// TEST GROUP
// survivors, 5 snipers, 5 riflemen, patrol
[SAR_area_TEST,2,5,5,""] call SAR_AI;
// Test, heli patrol area
_this = createMarker ["SAR_patrol_test", [79.59, 1523.29]];
_this setMarkerShape "RECTANGLE";
_this setMarkeralpha 0;
_this setMarkerType "Flag";
_this setMarkerBrush "Solid";
_this setMarkerSize [100, 100];
SAR_marker_helipatrol_test = _this;
//Heli Patrol Test
[SAR_marker_helipatrol_test,1] call SAR_AI_heli;
You defined the area at grid location 000 128. Is that your intention?
You can't use the direct grid locations from in game.
Use this to calculate the coordinates in proper values:
X Coord * 100 = proper x Value
15360 - (Y Coord * 100) = proper y value.
can you post your full grps_cfg file for cheranrus? If you switched all definitions for the spawngrids to survivors, you shouldnt see any bandits.It was intentional as its a clear area from zeds and other AI, I have written a function that converts the Y coord although mine is 153.60 - (y coord/100)![]()
Try this n4nz, your patrol area seems very small so for testing purposes i've doubled it, Also removed the setMarkerDir as that just sets the angle they'll patrol.
Code:// Test, heli patrol area _this = createMarker ["SAR_patrol_test", [79.59, 1523.29]]; _this setMarkerShape "RECTANGLE"; _this setMarkeralpha 0; _this setMarkerType "Flag"; _this setMarkerBrush "Solid"; _this setMarkerSize [100, 100]; SAR_marker_helipatrol_test = _this;
and then below that add
Code://Heli Patrol Test [SAR_marker_helipatrol_test,1] call SAR_AI_heli;
Restart the server and see if the arma2oa.RPT show the heli patrols spawning
can you post your full grps_cfg file for cheranrus? If you switched all definitions for the spawngrids to survivors, you shouldnt see any bandits.
(15360 - y coord)/100 is to convert the database worldspace coords to map grid coords.I have written a function that converts the Y coord although mine is 153.60 - (y coord/100)![]()
that with 3 elements supplied, 2 expected ? Nop, cant reproduce that at all here. Might be an issue with 1.7.6.1, not sure. shouldnt have any impycts though, as long as the guys shoot.Sarge, is there already something for that error message issue?
cfg file looks good. Can't see any issues in there. can you post parts of your rpt ? from the SAR AI start part on.
Did you check the NWAF for the static group ? Thats where they should spawn
(15360 - y coord)/100 is to convert the database worldspace coords to map grid coords.
So to convert map grid coords to worldspace coords it is 15360 - (y coord * 100)