Jump to content

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 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.