Hello everone, i am stuck at a point where i am unable to program my MCP, due to limited knowledge in coding and deciphering the 757/767 SDK.
CS-767 & 757 - FSX - FSUIPC - Mobiflight
To increase or decrease the airspeed value - i followed the instructions from the SDK
I created a lua file - CS757SPEEDDEC.LUA
ipc.writeLvar(“L:klid",-1703010)
and another - CS757SPEEDINC.LUA
ipc.writeLvar(“L:klid", 1703010)
These lua files now show up in my FSUIPC list.
Now the next step is to add an entry to auto-run the lua, i have made that entry too.
[Auto]
1=Lua CS757SPEEDINC
2=Lua CS757SPEEDDEC
Now in the macro file, what is the entry that i have to have ?
i tried different entry but none seem to work.
Could anyone please share some script that has worked ? or the steps, assigning the ID to a variable has got me stuck for weeks now, been searching for the forms but unable to find any definite answer.
I have not yet tried this myself, but it looks like you are missing a trigger to cause these events to happen. You would need to map a joystick button or keypress to trigger one of these LUA scripts to execute. I have seen a decent YouTube video to explain this step (