Jump to content
The simFlight Network Forums

kaha

Members
  • Posts

    124
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by kaha

  1. 1 hour ago, DaveSCUSA said:

    Duh, thank you.

    That's why in progtramming one has walksthru. Or better error descriptions in compilers.

    Well, the error description is spot on. ipc is a table and "execCalcCode" is a field in this table.. Look at this, both syntaxes are valid:

     

    ipc.execCalcCode("1 (>K:SET_STARTER1_HELD)")
    
    ipc["execCalcCode"]("1 (>K:SET_STARTER1_HELD)")

    The error message tells you that there is no table entry with key "CalcCode" (there is no field named "CalcCode") in table ipc.

     

    Karl

  2. Sorry for writing again, John.

    It happened again. I made a flight with the Cessna 182RG from Carenado. After landing I went back to the Main Menu in order to change a lua script. Scripts were all ended. I then loded the C182RG again and spent several minutes to check and change button assignments. After that I again went back to the Main Menu and the script was not ended. The timestamp at that time is 11736954.

    I then quit the sim and only then the scripts were ended, as the log file shows at time stamp 11903704.

     

    ScriptNotEnded.zip

×
×
  • 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.