NOTE

Deprecated. Use fsVarsGetAircraftVarId instead.

The get_aircraft_var_enum function retrieves the enum value for a simulation variable, given the string name of that variable.

Syntax
ENUM get_aircraft_var_enum(
    PCSTRINGZ  simvar
    );
Members
ParametersDescription
simvarSpecifies the simulation variable name.
Return Values

The function returns the ENUM value of the simulation variable, or SIMVAR_NONE (0) if the variable name is not found.

Remarks

Use this function before calling aircraft_varget.

0/255