Code:
// =========================================================================================================
// SAR_AI - DayZ AI library
// Version: 1.0.0
VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV
// Definition of area markers for static spawns
//
// soutcoast, heli patrol area
_this = createMarker ["SAR_patrol_soutcoast", [12047.952, 12707.831]];
_this setMarkerShape "RECTANGLE";
_this setMarkeralpha 0;
_this setMarkerType "Flag";
_this setMarkerBrush "Solid";
_this setMarkerSize [300, 70];
SAR_marker_helipatrol_southcoast = _this;
// eastcoast, heli patrol area
_this = createMarker ["SAR_patrol_eastcoast", [13304.196, 8220.9795]];
_this setMarkerShape "RECTANGLE";
_this setMarkeralpha 0;
_this setMarkerType "Flag";
_this setMarkerBrush "Solid";
_this setMarkerSize [400, 50];
SAR_marker_helipatrol_eastcoast = _this;
// NWAF, heli patrol area
_this = createMarker ["SAR_patrol_NWAF", [12356.466, 12615.837]];
_this setMarkerShape "RECTANGLE";
_this setMarkeralpha 0;
_this setMarkerType "Flag";
_this setMarkerBrush "Solid";
_this setMarkerSize [200, 40];
_this setMarkerDir 59.354115;
SAR_marker_helipatrol_nwaf = _this;
// NEAF, heli patrol area
_this = createMarker ["SAR_patrol_NEAF", [12034.16, 12725.376, 0]];
_this setMarkerShape "RECTANGLE";
_this setMarkeralpha 0;
_this setMarkerType "Flag";
_this setMarkerBrush "Solid";
_this setMarkerSize [100, 70];
SAR_marker_helipatrol_neaf = _this;
// SAR DEBUG AREA - at NWAF
_this = createMarker ["SAR_marker_DEBUG", [12047.952, 12707.831]];
_this setMarkerShape "RECTANGLE";
_this setMarkeralpha 1;
_this setMarkerType "Flag";
_this setMarkerBrush "Solid";
_this setMarkerSize [150, 70];
_this setMarkerDir 59.354115;
SAR_marker_DEBUG = _this;
// SAR DEBUG AREA - at Skaly
_this = createMarker ["SAR_marker_DEBUG1", [12356.466, 12615.837]];
_this setMarkerShape "RECTANGLE";
_this setMarkeralpha 1;
_this setMarkerType "Flag";
_this setMarkerBrush "Solid";
_this setMarkerSize [250, 100];
SAR_marker_DEBUG1 = _this;
// ----------------------------------------------------------------------------------------
// End of area marker definition section
// ----------------------------------------------------------------------------------------
diag_log format["SAR_AI: Area & Trigger definition finalized"];
diag_log format["SAR_AI: Static Spawning for Helicopter patrols started"];
//
// Static, predefined heli patrol areas with configurable units
//
// Parameters used:
// Areaname
// 1,2,3 = soldier, survivors, bandits
//
// respawn
// true or false
//Heli Patrol NWAF
[SAR_marker_helipatrol_nwaf,1,true] call SAR_AI_heli;
//Heli Patrol NEAF
[SAR_marker_helipatrol_neaf,1,true] call SAR_AI_heli;
// Heli patrol south coast
[SAR_marker_helipatrol_southcoast,1,true] call SAR_AI_heli;
[SAR_marker_helipatrol_southcoast,1,true] call SAR_AI_heli;
// heli patrol east coast
[SAR_marker_helipatrol_eastcoast,1,true] call SAR_AI_heli;
[SAR_marker_helipatrol_eastcoast,1,true] call SAR_AI_heli;
diag_log format["SAR_AI: Static Spawning for Helicopter patrols finished"];
//---------------------------------------------------------------------------------
// Static, predefined infantry patrols in defined areas with configurable units
//---------------------------------------------------------------------------------
// Example: [SAR_marker_DEBUG,1,0,1,"",true] call SAR_AI;
//
// SAR_marker_DEBUG = areaname (must have been defined further up, and MUST NOT BE similar to SAR_area_ ! THIS IS IMPORTANT!
// 1 = type of group (1 = soldiers, 2 = survivors, 3 = bandits)
// 0 = amount of snipers in the group
// 1 = amount of rifleman in the group
// "" = action, possible values: "noupsmon","fortify","ambush","patrol"
// true = respawning group, true or false
// Example entries:
// SARGE DEBUG - Debug group
// military, 0 snipers, 1 riflemen, patrol
//[SAR_marker_DEBUG,1,0,1,"fortify",true] call SAR_AI;
//[SAR_marker_DEBUG1,1,3,20,"patrol",false] call SAR_AI;
//[SAR_marker_DEBUG1,1,2,30,"patrol",false] call SAR_AI;
//---------------------------------------------------------------------------------
// add here if needed
// ---- end of configuration area ----
diag_log format["SAR_AI: Static Spawning for infantry and heli patrols finished"];
I haven't I wanted to Remplace The Area Where They Spawn. But Seem They are Keeping Spawning Everywhere and Randomly. Those or Coord For Chernarus North East AirField .
I tryed To make a static spawn and Nothing has shown up . If someone Could tell me What im doing wrong . Well im learning but Worked alot with 3d Map editor .
Q : These Coord are correct ?
Q : Can They Be Remplaced ?
Q : And last Things Why Does they Alway Spawn Somewhere else If ive changed them position ?
I also had to Disable Radio Drop Off them Body Because their Were Kicking Poeple off Ours Servers. Thanks Nice Script But i need Get Daily Area Working for Loot and stuff it's very amazing , I want them to protect 3 Ural Loaded up with Gun , 2 Chopper and Some Hmmvw .
thanks you.