DMS_Exile/@ExileServer/addons/a3_dms/fn_DMS_postInit.sqf
eraser1 0b0c290495 Function Changes + Fixes + Comments + Logs
Added configurable distance to when cleanup will be aborted for an
object with a player nearby.

Created TargetsKilled function

Rewrite BroadCastMissionStatus (the function was doing the same thing
for each switch case except one, so I just put that in a select
statement)

Created function information for CleanUp.

CleanUp was using "_this" instead of "_x"

Created more/better debug info for CleanUp

Changed calling parameters for FillCrate.

Increased robustness of FillCrate.

Made FillCrate prettier

Created function information for FindSafePos

Created function information for IsPlayerNearByARRAY (deprecated)

Tweaks to MissionStatusCheck:
Created debug log for empty "DMS_Mission_Arr"
Fixed placement of index increase (otherwise deleteAt would remove
incorrect element if it existed)

Created MissionSuccessState

Created logs for RemoveMarkers

Created function information for RemoveMarkers + made it prettier

Created function information for SelectMagazine

Created TargetsKilled
2015-08-28 16:52:56 -05:00

27 lines
776 B
Plaintext

/*
Launches mission functions
Made for Defent for Defents Mission System
And for Numenadayz.com
Written by eraser1
[_delay, _function, _params, _persistance] call ExileServer_system_thread_addTask;
*/
RESISTANCE setFriend[WEST,0];
WEST setFriend[RESISTANCE,0];
RESISTANCE setFriend[EAST,0];
EAST setFriend[RESISTANCE,0];
EAST setFriend[WEST,0];
WEST setFriend[EAST,0];
if(DMS_StaticMission) then {
call compileFinal preprocessFileLineNumbers "\x\addons\dms\static\static_init.sqf";//<---- TODO
};
if (DMS_DynamicMission) then {
// Use FSM to spawn missions and check mission status instead
//call compileFinal preprocessFileLineNumbers "\x\addons\dms\missions\mission_init.sqf";
//[1, DMS_MissionStatusCheck, [], true] call ExileServer_system_thread_addTask;
};