Jump to content

SETUP END MISSION TIMER: Difference between revisions

From CMM Wiki
SETUP_END_MISSION_TIMER – created via PowerShell script (2025-11-11T21:12:02Z)
Tag: Recreated
 
m SETUP_END_MISSION_TIMER – created via PowerShell script (2026-01-01T06:02:52Z)
 
Line 1: Line 1:
{{Template:FunctionInfo|fName=          SETUP_END_MISSION_TIMER|fDescription=  Initializes the mission end timer system, defaulting to 6 hours if CMM.MISSION.TimeLimit is not already set; it logs the configured runtime, schedules the final END_MISSION call and sets up a series of MissionTimer notifications at predefined intervals.|parentFile=    cmm.DCSFunctions.lua|syntax=        CMM.SETUP_END_MISSION_TIMER()|return=        |returnDesc=    |example=        CMM.MISSION.TimeLimit = 3600; CMM.SETUP_END_MISSION_TIMER()|exampleDesc=    Sets up a one‑hour mission timer and schedules the end‑of‑mission notification.|related=        |note=          |envType= CMM}}
{{Template:FunctionInfo|fName=          SETUP_END_MISSION_TIMER|fDescription=  initialises the mission end timer system, defaulting to 6 hours if CMM.MISSION.TimeLimit is not already set; it logs the configured runtime, schedules the final END_MISSION call and sets up a series of MissionTimer notifications at predefined intervals.|parentFile=    cmm.DCSFunctions.lua|syntax=        CMM.SETUP_END_MISSION_TIMER()|return=        |returnDesc=    |example=        CMM.MISSION.TimeLimit = 3600; CMM.SETUP_END_MISSION_TIMER()|exampleDesc=    Sets up a one‑hour mission timer and schedules the end‑of‑mission notification.|related=        |note=          |envType= CMM}}

Latest revision as of 19:02, 31 December 2025

Return to CMM Command Reference
Environment: Mission Scripting
Function: SETUP_END_MISSION_TIMER
Function Description: initialises the mission end timer system, defaulting to 6 hours if CMM.MISSION.TimeLimit is not already set; it logs the configured runtime, schedules the final END_MISSION call and sets up a series of MissionTimer notifications at predefined intervals.
File Location: cmm.DCSFunctions.lua
Syntax: CMM.SETUP_END_MISSION_TIMER( )
Return Value:
Parameters: Name Description
Example: CMM.MISSION.TimeLimit = 3600; CMM.SETUP_END_MISSION_TIMER()
Example Description: Sets up a one‑hour mission timer and schedules the end‑of‑mission notification.
Related Functions:
Notes: