Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting L-Var value? #129

Open
Engin1980 opened this issue Jul 16, 2023 · 0 comments
Open

Setting L-Var value? #129

Engin1980 opened this issue Jul 16, 2023 · 0 comments

Comments

@Engin1980
Copy link

I am trying ot set PWS switch in A32NX, which, according to the mobilfight (and the plane itself in FS2020) is available as L:Var A32NX_SWITCH_RADAR_PWS_Position.

I have adapted the code, but unfortunately there is no change in the sim when the button is pressed. I have studied #39, but it haven't moved me closer to the solution.

Currently, I have in my .json is like:

...
"index": 10,
"event_press": {
  "type":"condition",
  "event": [ "{{ data_set_simvar_value('A32NX_SWITCH_RADAR_PWS_Position', 1)  }}" ]
}
...

Help from anyone experienced appreciated. TIA

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant