Sign in to follow this  
Guest Matholomew

using <click> to do multiple actions

Recommended Posts

How would i set up the section of an XML switch to perform multiple actions. for example, how would you make it toggle all 4 afterburners at once.Also, is there a way to have a switch only work once? I want to fail a system and not be able to click it again to un-fail the system.I am still very new to XML, so bear with my ignorance-Matt

Share this post


Link to post
Share on other sites
Help AVSIM continue to serve you!
Please donate today!

#1(>K:TOGGLE_AFTERBURNER1) (>K:TOGGLE_AFTERBURNER2) (>K:TOGGLE_AFTERBURNER3) (>K:TOGGLE_AFTERBURNER4)#2For some thing like this you must first check the "state" in which the system is in (Failed/Not Failed). If not failed, proceed to fail it, If failed do nothing. (L:My System Failure,bool) ! if{ 1 (>L:My System Failure,bool) }or for a stock FS failure(A:ENG1 FAILED, bool) ! if{ (>K:TOGGLE_ENGINE1_FAILURE) }Failure to ask is ignorance--We're here to help :)Regards,Roman

Share this post


Link to post
Share on other sites

Thanks! That's exactly what I needed. Ive been trying to figure out how to do this for more than a week now with no success.

Share this post


Link to post
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
Sign in to follow this