Jump to content

OutTextForGroup

From CMM Wiki
Return to CMM Command Reference
Environment: Mission Scripting
Function: outTextForGroup
Function Description: CMM varient of trigger.action.outTextForGroup that uses an argTable
File Location: cmm.DCSFunctions.lua
Syntax: CMM.outTextForGroup( table argTable )
Return Value: nil
Parameters: Name Description
argTableTable of arguments, argTable[1] = unitID (number) , argTable[2] = text (string), argTable[2] = displayTime (number)[DEFAULT: 5], argTable[4] = clearView (boolean)[DEFAULT: false], argTable[5] = writelog (boolean)[DEFAULT: true]
Example: CMM.outTextForGroup({1000272,"Hello World!", 10, true true})
Example Description: This function will put the Hello World! text up for units in group 1000272 for 10 seconds. It will clear all other text and also write Hello World! to the log
Related Functions:
Notes: