Jump to content

ScheduledoutTextForUnit

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