//////////////////////////////////////////////////////////////////////////////// ///
/// This SQF Function created using Project: JADE v0.6 on 2007-04-28 08:41:30Z /// /// Sickboy /// fCreateObjective.sqf /// 1.0.0 /// /// /// This function will create a objective /// /// /// /// [_obj,_sub,_side,_pside,_pos,_basepos] /// /// /// /// {Edit Me} ///
//////////////////////////////////////////////////////////////////////////////// private ["_basepos","_conf","_obj","_objId","_pos","_ps","_pside","_s","_side","_sub","_caller"]; _obj=_this select 0; _sub=_this select 1; _side=_this select 2; _pside=_this select 3; _pos=_this select 4; _basepos=_this select 5; if(count _this>6)then{_conf=_this select 6;}else{_conf=[];}; _caller=["CALLER:","caller:",(group server),_conf] call six_fgetArg; _s=call compile (six_sides select _side); _ps=call compile (six_sides select _pside); if(six_debug_miss&&six_isClient)then{server globalChat format["Creating Objective Type %1, Subtype %2, Side: %3, PlayerSide: %4, Position: %5",_obj,_sub,_s,_ps,_pos];}; if(isNil "six_aim_objGen")then{six_aim_objGen=0;}else{six_aim_objGen=six_aim_objGen+1;};_objId=six_aim_objGen; _obj call compile preprocessFile (SIX_AIM_P+"c\cfg_Objectives.sqf");