Jump to content

LoadServerStartWarning

From CMM Wiki
Revision as of 12:26, 24 June 2026 by Ozdeadmeat (talk | contribs) (LoadServerStartWarning – created via PowerShell script (2026-06-24T22:26:41Z))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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: