get_aircraft_var_enum

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
Parameters Description
simvar Specifies the simulation variable name.

Return Values

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

 

Remarks

Use this function before calling aircraft_varget.

 

See Also