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 Token Variables related to the different airport vehicles for use when creating gauges using WASM / C++.
The “Z” axis position of the point of contact between the catering truck and the bottom of the aircraft door, relative to the ground, in meters.
CATERINGTRUCK_ELEVATION_CURRENT
n (FLOAT64)
The current altitude AGL of the bottom of the catering truck container, in meters.
CATERINGTRUCK_ELEVATION_TARGET
n (FLOAT64)
The target altitude AGL of the bottom of the catering truck container, in meters.
CATERINGTRUCK_OPENING_CURRENT
n (FLOAT64)
The current state of the catering truck when opening the container and deploying the bridge, where 0 is fully closed and 1 is fully opened and deployed, expressed as a Percent Over 100.
CATERINGTRUCK_OPENING_TARGET
n (FLOAT64)
The target state of the catering truck the container is opene and the bridge deployed, where 0 is fully closed and 1 is fully opened and deployed, expressed as a Percent Over 100.
The current deployment amount of the ground power unit hose, expressed as a Percent Over 100. Currently can only be set to 0 (not deployed) and 1 (deployed).
GROUNDPOWERUNIT_HOSE_END_POSX
n (FLOAT64)
The “X” axis position of the end of the ground power unit hose when fully deployed, relative to the ground, in meters.
GROUNDPOWERUNIT_HOSE_END_POSZ
n (FLOAT64)
The “Z” axis position of the end of the ground power unit hose when fully deployed, relative to the ground, in meters.
GROUNDPOWERUNIT_HOSE_END_RELATIVE_HEADING
n (FLOAT64)
The heading of the end of the fuel ground power unit, relative to the vehicle heading, in degrees.