Jump to content
The simFlight Network Forums

ipcPARAM


Recommended Posts

Hi Pete,

I'm having trouble using the ipcPARAM variable. I have assigned a button to run an LUA script and in the parameter field entered the number one.

I have tried just reading it as param=ipcPARAM and also assigning it as param = ipc.get("ipcPARAM") in the script but without any success. I want to be able to test ipcPARAM to determine different actions in the script. e.g. if param == 1 then .......

I'm clearly missing something, can you help please?

Thanks

Steve

Link to comment
Share on other sites

I'm having trouble using the ipcPARAM variable. I have assigned a button to run an LUA script and in the parameter field entered the number one.

I have tried just reading it as param=ipcPARAM and also assigning it as param = ipc.get("ipcPARAM") in the script but without any success.

There should be no trouble getting the parameter simply by reference to ipcPARAM. Does the log show any errors in your program? If not then ipcPARAM is certainly defined okay -- so what value does it have?

BTW what version of FS and FSUIPC are you using? If I am to test things myself in answer to such questions I do need to know such things.

Regards

Pete

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.