Is it possible for X-plane to send a command back to Air Manager? E.G click a button in VR in X-Plane for it then to be received as if a button or hardware button had been pressed in the LUA script.
Thanks
X-plane to Air Manager
-
- Posts: 5339
- Joined: Thu Jul 27, 2017 12:22 am
Re: X-plane to Air Manager
Nothing simple than this,
it's just a matter of reading a dataref, then set the switch or button accordingly in AM
for a switch there's a statement like in "switch_set_position"
http://siminnovations.com/wiki/index.ph ... t_position
other than this for a button we have to change the current image displayed if needed
Gilles
it's just a matter of reading a dataref, then set the switch or button accordingly in AM
for a switch there's a statement like in "switch_set_position"
http://siminnovations.com/wiki/index.ph ... t_position
other than this for a button we have to change the current image displayed if needed
Gilles
Re: X-plane to Air Manager
You can also subscribe to commands using the
xpl_command_subscribe() function.
Tony
xpl_command_subscribe() function.
Tony
Air Manager panels at https://www.experimentalsimavionics.com
Youtube Channel https://www.youtube.com/channel/UC8ZqXX ... kfZMq5BKig
Air Manager API Tutorial Video Series https://youtube.com/playlist?list=PLNr0 ... baT4gJKg5D
Youtube Channel https://www.youtube.com/channel/UC8ZqXX ... kfZMq5BKig
Air Manager API Tutorial Video Series https://youtube.com/playlist?list=PLNr0 ... baT4gJKg5D