Jump to content

OutText

From CMM Wiki
Return to CMM Command Reference
Environment: Mission Scripting
Function: outText
Function Description: CMM varient of trigger.action.outText that uses an argTable
File Location: cmm.DCSFunctions.lua
Syntax: CMM.outText( 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] = writelog (boolean)[DEFAULT: true]
Example: CMM.outText({"Hello World!", 10, true true})
Example Description: This function will put the Hello World! text up for all players for 10 seconds. It will clear all other text and also write Hello World! to the log
Related Functions:
Notes: