I have created a capture point called firebase alpha in the editor using zeus
exported it with mcc and merged with my mission.sqm
i have placed a trigger around the area. so if i enter the area. it spawns ai and crates
the sensor in my mission.sqm looks like this
class Item0
{
position[]={16594.824,35.029106,19012.52};
a=500;
b=500;
activationBy="ANY";
interruptable=1;
age="UNKNOWN";
expActiv="nul = execVM ""server\missions\staticSpawn.sqf"";";
class Effects
{
};
};
and the file staticSpawn.sqf is really simple
/*
staticSpawn.sqf
by JakeHekesFists[DMD]
for use with A3Wasteland Altis
this will create a mid sized Hostile AI patrol
*/
// this will create 2 static patrols at firebase alpha
_staticPos = [16530, 18975];
_staticPos1 = [16607, 19019];
// create 2 groups of AI
_StaticGrpM = createGroup civilian;
[_StaticGrpM,_staticPos] spawn createStaticGroup;
[_StaticGrpM,_staticPos1] spawn createStaticGroup;
//create 2 boxes of guns
_staticBox = createVehicle ["Box_East_Wps_F",[(_staticPos1 select 0), (_staticPos1 select 1),0],[], 0, "CAN_COLLIDE"];
[_staticBox,"mission_USLaunchers"] call fn_refillbox;
_staticBox allowDamage false;
_staticBox setVariable ["R3F_LOG_disabled", true, true];
_staticBox1 = createVehicle ["Box_East_Wps_F",[(_staticPos select 0) + 2, (_staticPos select 1) - 5,0],[], 0, "CAN_COLLIDE"];
[_staticBox1,"mission_Main_A3snipers"] call fn_refillbox;
_staticBox1 allowDamage false;
_staticBox1 setVariable ["R3F_LOG_disabled", true, true];
i use triggers for this, because i dont see any point in having lots of ai roaming around the area if there is noone there to do it.