Returns color values for a given threat status. Color component values are floating point numbers between 0 and 1, with 1 representing full intensity.
See also Threat functions.
Signature:
red, green, blue = GetThreatStatusColor(status)
Arguments:
status- A threat status category, as returned byUnitThreatSituationorUnitDetailedThreatSituation(number)
Returns:
red- Red component of the color (number)green- Green component of the color (number)blue- Blue component of the color (number)