Read L-Var
msfs_get_lvarRead a specific L-var value from the current aircraft to access add-on local variables. Uses MobiFlight WASM extension for retrieval.
Instructions
Read an L-var (local variable) value from the current aircraft.
L-vars are aircraft-specific local variables used by add-on developers. Requires the MobiFlight WASM extension.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | L-var name, e.g. 'A32NX_EFIS_L_OPTION', 'WT_CJ4_HDG_ON'. The 'L:' prefix and RPN wrapping are added automatically if missing. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |