Jump to content
The simFlight Network Forums

litlle help (example) for the new [AUTO] function...


Recommended Posts

Hello,

I need a little help for the new [AUTO] function and generally with the LUA thingie...

I'm sure you have documented this somewhere, but I need some direct advice with an example to get this in my mind.

situation:

I have two Lua Variables for the PMDG MD-11

L:pmdg_hide_yoke=0

(hides the pilots yoke when set to "1")

L:HIDE_OVERHEAD_SWITCHES_var=0

(hides the overhead switches to gain some frames when set to "1")

Now, I want to get this two variables into the [AUTO] function to have the yokes hidden and the overhead switches, too.

I have made a LUA file named MD11init.lua

Inside this file theres the entry:

ipc.writeLvar(pmdg_hide_yoke,1)

(thats the part where the first big error is, I think)

and in the FSUIPV4.ini theres the entry

[Auto.PMDG MD-11]

1=MD11init

(and there's the second error, I think)

It's obvisiuous that I have no clue what to do and how to handle the LVars with the [AUTO] function or how to get them into a LUA file....

:?: :?: :?: :?:

So, please be so kind and help me...!

thank you very much as ever!

guenter

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

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