Static Spawning Sarge AI from another script ?

Torndeco

Valued Member!
Code:
    _coords = [1912.21,2244.73,0.00143003];
..........
...........
............
    diag_log("DEBUG - MISSION AI START");
    // SARGE AI
    _ai_marker = createMarker ["SAR_marker_SM7", _coords];
    _ai_marker setMarkerShape "RECTANGLE";
    _ai_marker setMarkeralpha 0;
    _ai_marker setMarkerType "Flag";
    _ai_marker setMarkerBrush "Solid";
    _ai_marker setMarkerSize [300,300];
    _ai_marker setMarkerDir -19.085985;
    SAR_marker_SM7 = _ai_marker; 
    diag_log("DEBUG - MISSION AI MARKER DONE");
    [SAR_marker_SM7,3,2,5,"fortify",false] call SAR_AI;
    diag_log("DEBUG - MISSION AI CALLED SAR");

Static Spawning Sarge AI from another script ?

Anyone manage to pull this off ?
Or point at where i am going wrong...
Basicly its Cherno Missions but want to spawn in SARGE Static AI when the mission starts.
Got no errors & doesn't appear to be spawning AI

Hoping to avoid diag_log file to find out where i messed up thx.
 
Back
Top