Jump to content
Sign in to follow this  
Guest Matholomew

using <click> to do multiple actions

Recommended Posts

Guest Matholomew

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

#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


20AUG21_Avsim_Sig.png?dl=1  FS RTWR   SHRS F-111   JoinFS   Little Navmap 
 

 

Share this post


Link to post
Share on other sites
Guest Matholomew

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  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...