DCS enum trigger

From DCS World Wiki - Hoggitworld.com
Revision as of 00:12, 12 April 2018 by Grimes (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Scripting Root

Enumerator: trigger Added with: 1.2.0
Description: The trigger enumerator contains data for the color of smoke and flares that can be deployed as trigger actions.
Uses: Colors are typically used to mark different targets. Green or blue for friendly. Red for enemy.
Format: Tables are formatted as.
trigger.smokeColor = {
  Green,
  Red,
  White,
  Orange,
  Blue
}

enum for flare color

trigger.flareColor = {
  Green,
  Red,
  White,
  Yellow
}
constants: smokeColor enumerator values
 0 = Green
 1 = Red
 2 = White
 3 = Orange
 4 = Blue

flare color enumerator values

0 = Green
1 = Red
2 = White
3 = Yellow
notes: Orange is NEVER the best smoke color for marking friendlies.