Jump to content
Sign in to follow this  
taguilo

Toggling lights in 2D gauges

Recommended Posts

Guest depot_haldol

So I have my gauge which displays one of two bitmaps depending on the state of an internal variable. All is good. But I want to add another IF statement that sets Bright="Yes" based on the case of another variable, like A:LIGHT PANEL. Here's my functional part:(G:Var1,bool)What I want is something like: IF (A:LIGHT PANEL, bool) 1 == THEN add Bright="Yes" to both lines.But I don't know how to integrate this. Thanks for the help, gurus.---Will

Share this post


Link to post
Share on other sites

Will,This should work : (G:Var1,bool) (A:LIGHT PANEL, bool) 2 * + (ImagesSizes are not really necessary in FS2004)Tom

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...