Jump to content
The simFlight Network Forums

Skyzo

new Members
  • Posts

    1
  • Joined

  • Last visited

Profile Information

  • Gender
    Male
  • Location
    France

Skyzo's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Hi, could you send here an example. For example, i have a luafiles who contain 2 functons : PMDGBaseVar = 0x00011000 -- 69632 PMDG_ClkL = 0x20000000 -- 536870912 PMDG_ClkR = 0x80000000 -- -2147483648 PMDG_dec = 0x00002000 -- 8192 PMDG_inc = 0x00004000 -- 16384 PMDG_RelL = 0x00020000 -- 131072 PMDG_RelM = 0x00040000 -- 262144 PMDG_RelR = 0x00080000 -- 524288 -- Toggle CMDA function NGX_AP_CMDA_toggle () ipc.control(PMDGBaseVar+402, PMDG_ClkL) end -- Toggle CMDB function NGX_AP_CMDB_toggle () ipc.control(PMDGBaseVar+403, PMDG_ClkL) end How can i call first or second function by Keypress or Button +switches ? I am in the same case, previously i have separed all function in specific files but i have quicly more than 127 lua files in my module folder. Thanks for all. Sky
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.