diff --git a/@ExileServer/addons/a3_dms/FSM/missions.fsm b/@ExileServer/addons/a3_dms/FSM/missions.fsm index 4735318..fbc2b14 100644 --- a/@ExileServer/addons/a3_dms/FSM/missions.fsm +++ b/@ExileServer/addons/a3_dms/FSM/missions.fsm @@ -108,8 +108,8 @@ class FSM priority = 1.000000; to="Check_Mission_Running"; precondition = /*%FSM*/""/*%FSM*/; - condition=/*%FSM*/"((diag_tickTime - _missionStatusCheck) > 60)"/*%FSM*/; - action=/*%FSM*/"_missionStatusCheck = time;"/*%FSM*/; + condition=/*%FSM*/"((diag_tickTime - _missionsMonitor) > 60)"/*%FSM*/; + action=/*%FSM*/"_missionsMonitor = time;"/*%FSM*/; }; /*%FSM*/ }; @@ -120,7 +120,7 @@ class FSM { name = "Check_Mission_Running"; itemno = 6; - init = /*%FSM*/"call DMS_MissionStatusCheck;"/*%FSM*/; + init = /*%FSM*/"call DMS_MissionsMonitor;"/*%FSM*/; precondition = /*%FSM*/""/*%FSM*/; class Links { @@ -166,10 +166,10 @@ class FSM { name = "PREPARE"; itemno = 14; - init = /*%FSM*/"private [""_missionStatusCheck"",""_cleanupTime"",""_selectMission""];" \n + init = /*%FSM*/"private [""_missionsMonitor"",""_cleanupTime"",""_selectMission""];" \n "diag_log (""DMS :: Initializing FSM mission script"");" \n "" \n - "_missionStatusCheck = diag_tickTime;" \n + "_missionsMonitor = diag_tickTime;" \n "_cleanupTime = diag_tickTime;" \n "_selectMission = diag_tickTime;"/*%FSM*/; precondition = /*%FSM*/""/*%FSM*/; diff --git a/@ExileServer/addons/a3_dms/fn_DMS_preInit.sqf b/@ExileServer/addons/a3_dms/fn_DMS_preInit.sqf index 417bbda..e9426a6 100644 --- a/@ExileServer/addons/a3_dms/fn_DMS_preInit.sqf +++ b/@ExileServer/addons/a3_dms/fn_DMS_preInit.sqf @@ -19,7 +19,7 @@ vehicle_monitor = compileFinal preprocessFileLineNumbers "\x\addons\dms\script //Completed DMS_selectMission = compileFinal preprocessFileLineNumbers "\x\addons\dms\missions\SelectMission.sqf"; -DMS_MissionStatusCheck = compileFinal preprocessFileLineNumbers "\x\addons\dms\scripts\MissionStatusCheck.sqf"; +DMS_MissionsMonitor = compileFinal preprocessFileLineNumbers "\x\addons\dms\scripts\MissionsMonitor.sqf"; DMS_MissionSuccessState = compileFinal preprocessFileLineNumbers "\x\addons\dms\scripts\MissionSuccessState.sqf"; DMS_findSafePos = compileFinal preprocessFileLineNumbers "\x\addons\dms\scripts\FindSafePos.sqf"; DMS_BroadcastMissionStatus = compileFinal preprocessFileLineNumbers "\x\addons\dms\scripts\BroadcastMissionStatus.sqf"; diff --git a/@ExileServer/addons/a3_dms/scripts/MissionStatusCheck.sqf b/@ExileServer/addons/a3_dms/scripts/MissionsMonitor.sqf similarity index 100% rename from @ExileServer/addons/a3_dms/scripts/MissionStatusCheck.sqf rename to @ExileServer/addons/a3_dms/scripts/MissionsMonitor.sqf