Jump to content

ScheduledoutText

From CMM Wiki
Return to CMM Command Reference
Environment: Mission Scripting
Function: ScheduledoutText
Function Description: Delays an OutText and also enters output into the log with env.info
File Location: cmm.DCSFunctions.lua
Syntax: CMM.ScheduledoutText( table argTable )
Return Value: nil
Parameters: Name Description
argTableTable of arguments, argTable[1] = text (string), argTable[2] = displayTime (number)[DEFAULT: 5], argTable[3] = clearView (boolean)[DEFAULT: false], argTable[4] = delayTime (number)[DEFAULT: 5], argTable[5] = writelog (boolean)[DEFAULT: true]
Example: CMM.ScheduledoutText({"Hello World!", 10, true, 20, true})
Example Description: This will output "Hello World!" for 10 seconds, clear the view and write the message to the log with env.info
Related Functions:
Notes: