Archived

This topic is now archived and is closed to further replies.

rcbarend

Simple XML Question

Recommended Posts

Hi everyone, it's been a long time since I've posted and everyone was very helpful in the past, so here's another question.I have two buttons next to each other. Pressing the first one toggles the door, works perfectly:Toggle Fwd Cabin Door(L:FwdCab, enum) ! (>L:FwdCab, enum) 0 (L:DoorsEnergized, enum) 1 == if{ (>K:TOGGLE_AIRCRAFT_EXIT) } What I want the other button to do is to toggle the Concorde nose visor from fully UP to fully DOWN, but I'm having trouble since there's no one "Concorde Toggle" action.Here's what I want to say in English for the other button:If the button is pressed, then if DoorsEnergized = 1, then Toggle FwdCargo (If it's 1, make it 0, and vise versa) if FwdCargo is 1, then Extend the Concord nose visor fully else Retract the Concord nose visor fullyAnyone want to lend a hand? Thanks.

Share this post


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

Use events:(>K:INCREASE_CONCORDE_NOSE_VISOR_FULLY)and(>K:DECREASE_CONCORDE_NOSE_VISOR_FULLY)Cheers, Rob

Share this post


Link to post
Share on other sites