Tom_G_2010 Posted October 24, 2012 Report Share Posted October 24, 2012 I have been reading through the LUA library and other FSUIPC doc's to see if I can figure this out but so far it is eluding me. If I enter a parameter value for example "2" on a button assignment in FSUIPC, let's say Joy 3 button 21 and use that button to launch a LUA script, how do I read that parameter in my lua script? I am trying to write a common script to be used by several buttons and want to use if statements in the script to execute a variety of different actions based on the parameter value assigned to each button. If someone can point me in the right direction that would be great. Thanks! Tom G. Link to comment Share on other sites More sharing options...
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
Already have an account? Sign in here.Sign In Now