Jump to content

LoadServerStartWarning: Difference between revisions

From CMM Wiki
LoadServerStartWarning – created via PowerShell script (2025-11-11T21:12:10Z)
Tag: Recreated
 
m LoadServerStartWarning – created via PowerShell script (2026-06-24T22:26:41Z)
 
Line 1: Line 1:
{{Template:FunctionInfo|fName=          LoadServerStartWarning|fDescription=  Displays a performance warning for pilots when the mission starts.|parentFile=    cmm.DCSFunctions.lua|syntax=        CMM.LoadServerStartWarning(Time <number|nil>)|return=        nil|returnDesc=    No return value; displays the warning image on screen|example=        CMM.LoadServerStartWarning(100)|exampleDesc=    Shows a warning image to pilots at a specified time before mission start, defaulting to 150 seconds if not provided. The image is displayed at the top of the screen for the entire duration.|related=        |note=          |envType= CMM|par1=        number or nil time|optType1=    number or nil|optName1=    time|desc1=      Optional time in seconds before the warning appears (default is 150 seconds)}}
{{Template:FunctionInfo|fName=          LoadServerStartWarning|fDescription=  Displays a performance warning for pilots when the mission starts.|parentFile=    cmm.DCSFunctions.lua|syntax=        CMM.LoadServerStartWarning(Time <number|nil>)|return=        nil|returnDesc=    No return value; displays the warning image on screen|example=        CMM.LoadServerStartWarning(90, "cmm_serverstart.png")|exampleDesc=    Shows a warning image to pilots at a specified time before mission start, defaulting to 150 seconds if not provided. The image is displayed at the top of the screen for the entire duration.|related=        |note=          |envType= CMM|par1=        number or nil time|optType1=    number or nil|optName1=    time|desc1=      Optional time in seconds before the warning appears (default is 90 seconds)|par2=        string or nil: picture|optType2=    string or nil:|optName2=    picture|desc2=      Optional filename of the warning image to display (default is "cmm_serverloading.png")}}

Latest revision as of 12:26, 24 June 2026

Return to CMM Command Reference
Environment: Mission Scripting
Function: LoadServerStartWarning
Function Description: Displays a performance warning for pilots when the mission starts.
File Location: cmm.DCSFunctions.lua
Syntax: CMM.LoadServerStartWarning( number or nil time , string or nil: picture )
Return Value: nil
Parameters: Name Description
timeOptional time in seconds before the warning appears (default is 90 seconds)
pictureOptional filename of the warning image to display (default is "cmm_serverloading.png")
Example: CMM.LoadServerStartWarning(90, "cmm_serverstart.png")
Example Description: Shows a warning image to pilots at a specified time before mission start, defaulting to 150 seconds if not provided. The image is displayed at the top of the screen for the entire duration.
Related Functions:
Notes: