Sign in to follow this  
arno

Reversing variables

Recommended Posts

I'm making a scenery with a custom approach- and runway-lighting. I also would like to make these lights controllable through Com1 frequency using the 7BE-variable. So far i have been able to turn the light on and off with the freauency, BUT, it is the opposite of what I had i mind. The lights are lit all the time, exept when i tune the freq. Is there a efficient method to reverse it?Second question is, how do I enter decimals in the frequency? '118' works, but not 118.100Grateful for any helpKjell A.

Share this post


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

If the effect is reversed you should just change the destination of the jump (so you must jump to the lights code where you now jump over it and the other way around).And for the values, if I remember right 118.00 was equal to 1800h and 118.10 should be 1810h.Arno


Member Netherlands 2000 Scenery Team[a href=http://home.wanadoo.nl/arno.gerretsen]http://home.wanadoo.nl/arno.gerretsen/banner.jpg[/a]

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