DaveSCUSA Posted July 5 Report Posted July 5 In searching the FSUIPC7 forum, I cannot find where ipcPARAM is set. Searching the internet, found many ipcPARAM discussions, but not where the value in the ipcPARAM is set. Could you explain, please.
John Dowson Posted July 5 Report Posted July 5 From the FSUIPC Lua Plugins document: Quote On top of these facilities, when a Lua plug-in is run because of an FS control (Lua <name> or Lua Debug <name>), any parameter passed with that control is available to the Lua program as a variable called ipcPARAM. This might be particularly useful if the control is assigned to an Axis or POV, where the axis or POV value is thereby passed to the program. The added FSUIPC control "LuaValue ..." also passes values via ipcPARAM, and changes to it can trigger Lua plug-in code via a special event. Note that the ipcPARAM value is set externally to the Lua plug-in before each function entry from an event, and also after every use of the ipc.sleep function. It is not a variable which can be used internally to the plug-in to retain its own value unless both events and sleeps are completely avoided
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now