Hi,
I am writing some scripts that need to control player's aircraft (not AI), like rudder or throttle. In essence, I would like to do in a Lua script the equivalent of "SET COMMAND" or "SET COMMAND WITH VALUE" that are available in trigger actions.
This seems simple enough but I cannot figure it out :-) I tried to search existing information but all I could find was references to export scripts (like for Tacview), but this is not what I need. I need this to be available in a script callable from mission editor, so it has access to all the mission state.
Thanks
Bolek