IsColourTable
Appearance
| 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 |
| ColourTable | A 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: | ||