Lua script question
Posted: 27 Aug 2013, 15:00
Hello, long time not speaking, but still enjoying the best little addon. Currently running 6 numpads each used for its own unique purpose eg lights, Auto pilot, engine controls etc etc.
Now I am about to endeaver a bit more with this APP.
I refer your comment:
"Main purpose is to execute FSUIPC macros and LUA scripts using offset 0x0D70"
BUT I do not know what you mean with this sentence above . (I am a bit slow I know, but I am getting there slowly)
I do use lua scripts that I trigger via FSUIP/controller buttons.
Below a very simple example of a control that I know I can set via FSX commands, but this below is for example only.
Lua script called: gear_down.lua
Inside I have the following one line entry, that set the FSX control: gear down:
ipc.control(66080)
Now what do I need to do to use hidmacro to run this little lua script, or do I need to write some macro. I read through some documents but am am lost in all the technical stuff. Sorry I am seriously handicapped when coming to coding/macros etc.
Would you please tell me what to do for example the above scenario, and I will then duplicate and most probably I will be able to do other simmilar little scripts. Just need one example in monkey see monkey do language.
Much appreciated
JB
Now I am about to endeaver a bit more with this APP.
I refer your comment:
"Main purpose is to execute FSUIPC macros and LUA scripts using offset 0x0D70"
BUT I do not know what you mean with this sentence above . (I am a bit slow I know, but I am getting there slowly)
I do use lua scripts that I trigger via FSUIP/controller buttons.
Below a very simple example of a control that I know I can set via FSX commands, but this below is for example only.
Lua script called: gear_down.lua
Inside I have the following one line entry, that set the FSX control: gear down:
ipc.control(66080)
Now what do I need to do to use hidmacro to run this little lua script, or do I need to write some macro. I read through some documents but am am lost in all the technical stuff. Sorry I am seriously handicapped when coming to coding/macros etc.
Would you please tell me what to do for example the above scenario, and I will then duplicate and most probably I will be able to do other simmilar little scripts. Just need one example in monkey see monkey do language.
Much appreciated
JB