Where are my lil buddies?? some npc missing

Gramps

Member
I have two questions. First below is a segment of base sqf I pulled world coordinates and not sure if I extracted correct so looking at these two bandits did I get the right coordinates?


_unit_14 = objNull;
if (true) then
{
_this = _group_0 createUnit ["Bandit1_DZ", [4129.8457, 2782.946, -4.2915344e-006], [], 0, "CAN_COLLIDE"];
_unit_14 = _this;
_this setUnitAbility 0.60000002;
if (false) then {_group_0 selectLeader _this;};
};

_unit_15 = objNull;
if (true) then
{
_this = _group_0 createUnit ["Bandit1_DZ", [4040.1094, 2826.512, -5.7220459e-006], [], 0, "CAN_COLLIDE"];
_unit_15 = _this;
_this setUnitAbility 0.60000002;
if (false) then {_group_0 selectLeader _this;};
};

_unit_18 = objNull;
if (true) then
{
_this = _group_0 createUnit ["Survivor3_DZ", [4081.8225, 2686.0852, 8.5830688e-006], [], 0, "CAN_COLLIDE"];
_unit_18 = _this;
_this setUnitAbility 0.60000002;
if (false) then {_group_0 selectLeader _this;};
};

===========================================
second here are my sarge ai segments for static ai. I have many others and half work half don't. Any ideas why since they all use similiar script??

// Bandit Borinski

this = createMarker ["SAR_marker_borinski", [4029.8457, 2782.946, 0]];
_this setMarkerShape "RECTANGLE";
_this setMarkeralpha 0;
_this setMarkerType "Flag";
_this setMarkerBrush "Solid";
_this setMarkerSize [100, 100];
_this setMarkerDir 120.050;
SAR_marker_borinski = _this;


// Military Borinski

this = createMarker ["SAR_marker_borinski2", [4040.1094, 2826.512, 0]];
_this setMarkerShape "RECTANGLE";
_this setMarkeralpha 0;
_this setMarkerType "Flag";
_this setMarkerBrush "Solid";
_this setMarkerSize [100, 100];
_this setMarkerDir 120.050;
SAR_marker_borinski2 = _this;

// Civilian Borinski

this = createMarker ["SAR_marker_borinski3", [4081.8225, 2686.0852, 0]];
_this setMarkerShape "RECTANGLE";
_this setMarkeralpha 0;
_this setMarkerType "Flag";
_this setMarkerBrush "Solid";
_this setMarkerSize [100, 100];
_this setMarkerDir 120.050;
SAR_marker_borinski3 = _this;


===================

//Borinski Bandits
[SAR_marker_borinski,3,2,5,"fortify",true] call SAR_AI;

//Borinski Military
[SAR_marker_borinski2,1,2,4,"fortify",true] call SAR_AI;

//Borinksi Civilian
[SAR_marker_borinski3,2,2,4,"fortify",true] call SAR_AI;

================


thanks in advance If it was the init file issue wouldn't all ai not spawn?

Gramps

PS. Started this in old thread figured better to have its own space more current
 
Back
Top