WARNINGS AND FAILURES
IMPORTANT! Token Variables - along with the Gauge API - have been deprecated in Microsoft Flight Simulator 2024 in favour of the new Vars API and Event API, which work with the more extensive and supported Simulation Variables and Key Events.
This page lists the available warning and failure Token Variables for use when creating gauges using WASM / C++.
Failure States
Parameters | Universal Var Member | Description |
---|---|---|
PP_ADF |
|
ADF failure state. |
PP_AIR |
|
Airspeed gauge failure state. |
PP_ALTIM |
|
Altimeter failure state. |
PP_ATTITUDE |
|
Attitude failure state. |
PP_COM |
|
COM gauge failure state. |
PP_COMPASS |
|
Compass failure state. |
PP_ELECT |
|
Panels circuit failure state. |
PP_ENGINE |
|
Engine gauges failure state. |
PP_FUEL_IND |
|
Fuel indicator failure state. |
PP_HEADING |
|
Heading indicator failure state. |
PP_VERT_VEL |
|
Vertical velocity indicator failure state. |
PP_XPNDR |
|
Transponder failure state. |
PP_NAV |
|
NAV gauges failure state. |
PP_PITOT |
|
Pitot system failure state. |
PP_TURN_COORD |
|
Turn coordinator failure state. |
PP_VACUUM |
|
Vacuum system failure state. |
FLY_BY_WIRE_ELAC_FAILED |
|
Will be TRUE (1) if the elevators and ailerons computer has failed, or FALSE (0) otherwise. |
FLY_BY_WIRE_FAC_FAILED |
b (BOOL) |
Will be TRUE (1) if the flight augmentation computer has failed, or FALSE (0) otherwise. |
FLY_BY_WIRE_SEC_FAILED |
b (BOOL) |
Will be TRUE (1) if the spoilers and elevators computer has failed, or FALSE (0) otherwise. |
Warnings