Jump to content

IsColourTable

From CMM Wiki
Revision as of 12:26, 24 June 2026 by Ozdeadmeat (talk | contribs) (IsColourTable – created via PowerShell script (2026-06-24T22:26:34Z))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Return to CMM Command Reference
Environment: Mission Scripting
Function: IsColourTable
Function Description: Determines whether a unit with the given name exists and is currently active in the mission.
File Location: cmm.DCSFunctions.lua
Syntax: CMM.IsColourTable( table ColourTable )
Return Value: boolean
Parameters: Name Description
ColourTableA table representing a color in RGBA format, expected to contain exactly 4 numeric values between 0 and 1.
Example: CMM.IsColourTable({1,1,1,1})
Example Description: Returns true as the supplied table represents a valid color with full intensity white and full opacity.
Related Functions:
Notes: