Sign in to follow this  
Guest harry3

Decision Height selector

Recommended Posts

Hi everyoneI'de been trying to make a guage taht alow me to set the decision heigs in interval of 10 also I wanto for the gauge at the beggining of the code, set DA to 200if anyone can tell my how to set a value to DA, and how to make that when clickit increase or decrease 10 feet, I'll be very gratefullI'd been trying to make a sample code that in did not work:200 ((A:DECISION HEIGHT, feet) 1 / flr 10 + 4 %10 (>A:DECISION HEIGHT, feet)10 (Helio Alberto Regalado Moreira

Share this post


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

Use your own L:DH,feet variable over the builtin A: variable. I hade problems with a radioaltimeter using the builtin variables. The code for incrementing in 10's should become obvious. However, you can use timers to distinguish between a single-click or a "double-click" (mouse button held), as to set it in greater increments if approapriate.

Share this post


Link to post
Share on other sites

Since when is it possible to tolk directly to A vars? You always had to do it via K vars...(or has this changed in FS04???)As Karl already said, do it with your own vars!For exmaple one code snip out of my gauges.(L:dh,numbers) 100 < if{ (L:dh,numbers) 10 + (>L:dh, numbers) } els{ (L:dh,numbers) 50 + (>L:dh, numbers) }Regards,Harry

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