September 7, 200322 yr 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
September 8, 200322 yr 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.
September 9, 200322 yr 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
Create an account or sign in to comment