# Warnings And Failures {{< callout context="caution" title="IMPORTANT!" icon="outline/alert-triangle" >}} Token Variables - along with the [Gauge API](../gauge-api/) - have been deprecated in Microsoft Flight Simulator 2024 in favour of the new [Vars API](../../vars-api/vars-api/) and [Event API](../../event-api/event-api/), which work with the more extensive and supported [Simulation Variables](../../../simvars/simulation-variables/) and [Key Events](../../../key-events/key-events/). {{< /callout >}}   This page lists the available **warning and failure** [Token Variables](token-variables/) for use when creating gauges using {{< glossterm >}}wasm{{< /glossterm >}} / C++.     ### Failure States
ParametersUniversal Var MemberDescription
PP_ADF

e (ENUM)

  1. 0 = ok
  2. 1 = fail
  3. 2 = blank
ADF failure state.
PP_AIR

e (ENUM)

  1. 0 = ok
  2. 1 = fail
  3. 2 = blank

Airspeed gauge failure state.

PP_ALTIM

e (ENUM)

  1. 0 = ok
  2. 1 = fail
  3. 2 = blank

Altimeter failure state.

PP_ATTITUDE

e (ENUM)

  1. 0 = ok
  2. 1 = fail
  3. 2 = blank

Attitude failure state.

PP_COM

e (ENUM)

  1. 0 = ok
  2. 1 = fail
  3. 2 = blank

COM gauge failure state.

PP_COMPASS

e (ENUM)

  1. 0 = ok
  2. 1 = fail
  3. 2 = blank

Compass failure state.

PP_ELECT

e (ENUM)

  1. 0 = ok
  2. 1 = fail
  3. 2 = blank

Panels circuit failure state.

PP_ENGINE

e (ENUM)

  1. 0 = ok
  2. 1 = fail
  3. 2 = blank

Engine gauges failure state.

PP_FUEL_IND

e (ENUM)

  1. 0 = ok
  2. 1 = fail
  3. 2 = blank

Fuel indicator failure state.

PP_HEADING

e (ENUM)

  1. 0 = ok
  2. 1 = fail
  3. 2 = blank

Heading indicator failure state.

PP_VERT_VEL

e (ENUM)

  1. 0 = ok
  2. 1 = fail
  3. 2 = blank

Vertical velocity indicator failure state.

PP_XPNDR

e (ENUM)

  1. 0 = ok
  2. 1 = fail
  3. 2 = blank

Transponder failure state.

PP_NAV

e (ENUM)

  1. 0 = ok
  2. 1 = fail
  3. 2 = blank

NAV gauges failure state.

PP_PITOT

e (ENUM)

  1. 0 = ok
  2. 1 = fail
  3. 2 = blank

Pitot system failure state.

PP_TURN_COORD

e (ENUM)

  1. 0 = ok
  2. 1 = fail
  3. 2 = blank

Turn coordinator failure state.

PP_VACUUM

e (ENUM)

  1. 0 = ok
  2. 1 = fail
  3. 2 = blank

Vacuum system failure state.

FLY_BY_WIRE_ELAC_FAILED

b (BOOL)

Will be TRUE (1) if the elevators and ailerons computer has failed, or FALSE (0) otherwise.
FLY_BY_WIRE_FAC_FAILEDb (BOOL)Will be TRUE (1) if the flight augmentation computer has failed, or FALSE (0) otherwise.
FLY_BY_WIRE_SEC_FAILEDb (BOOL)Will be TRUE (1) if the spoilers and elevators computer has failed, or FALSE (0) otherwise.
    ### Warnings
ParametersUniversal Var MemberDescription
GEAR_WARNINGb (BOOL)Whether the gear warning is on (TRUE, 1) or off (FALSE, 0).
GPWS_WARNING

e (ENUM)

  1. 0 = None
  2. 1 = Sink Rate
  3. 2 = Don't sink
  4. 3 = Pull Up
  5. 4 = Too low gear up
  6. 5 = Too low flaps up
  7. 6 = Too low terrain
  8. 7 = Invalid
Ground proximity warnings.
LOW_HEIGHT_WARNINGb (BOOL)Will be TRUE (1) if the low height warning is activated, and FALSE (0) if it's not.
OVERSPEED_WARNINGb (BOOL)Will be TRUE (1) if the overspeed warning is activated, and FALSE (0) if it's not.
STALL_WARNINGb (BOOL)Will be TRUE (1) if the stall warning is activated, and FALSE (0) if it's not.
WARNING_FUELb (BOOL)Will be TRUE (1) if the fuel warning is activated, and FALSE (0) if it's not.
WARNING_FUEL_Lb (BOOL)Will be TRUE (1) if the left fuel tank warning is activated, and FALSE (0) if it's not.
WARNING_FUEL_Rb (BOOL)Will be TRUE (1) if the right fuel tank warning is activated, and FALSE (0) if it's not.
WARNING_OIL_PSIb (BOOL)Will be TRUE (1) if the oil pressure warning is activated, and FALSE (0) if it's not.
WARNING_VACUUMb (BOOL)Will be TRUE (1) if the vacuum system warning is activated, and FALSE (0) if it's not.
WARNING_VACUUM_Lb (BOOL)Will be TRUE (1) if the left vacuum system warning is activated, and FALSE (0) if it's not.
WARNING_VACUUM_Rb (BOOL)Will be TRUE (1) if the right vacuum system warning is activated, and FALSE (0) if it's not.
WARNING_VOLTAGEb (BOOL)Will be TRUE (1) if the voltage warning is activated, and FALSE (0) if it's not.