April 19, 200818 yr Hi Arne,I have a few questions relating to one of your gauges(TAS600MHD - Traffic Radar) that I have tried tomodify for one of my gauges.---question 1-------The range I'm using only has 2 ranges (5,10). Thisalways starts with 10 first. Is there any way to haveit start with 5 first? (The modified code I am using below)(C:fs9traffic:range,number) 10 min 5 max d(>C:fs9traffic:range,number)-----question 2--------How can I get these 2 values into 1 single click likebelow? (I have a push button to change the ranges)----Separate clicks (your original)------(C:fs9traffic:range,number) 2 /(>C:fs9traffic:range,number)(C:fs9traffic:range,number) 2 *(>C:fs9traffic:range,number)---single click (doesn't work?)------(C:fs9traffic:range,number) !(>C:fs9traffic:range,number)Many thanks for your assistance.Best Regards,Benny
April 19, 200818 yr Benny, For the first question you need a initialization procedure when the gauge first loads -- Place this at the very top of the gauge. Caution,,, Arne may have an initialization code somewhere too, for 10 NM range. Either use this one or modify Arne's. (G:Var1) 0 == if{ 10 (>C:fs9traffic:range,number) 1 (>G:Var1) } For the second one something like this should work.(C:fs9traffic:range,number) 5 == if{ 10 (>C:fs9traffic:range,number) } els{ 5 (>C:fs9traffic:range,number) } Regards,RomanProud "TEAM AVSIM" RTW race member.XP Pro, FS9, FR Locked @ 23, AMD 1800+ OCd to 1900+, APIC MProc Mod (24 IRQs), Latency Mods, ECS K7S5a V1.1, 7 fans, 1 gig, 100 & 60 Gig 7200rpm HD, ASUS/NVidia GeForce 64mb AGP on 21", NVidia FX5500 vivo 256mb (CRAP) on 18", Nvidia 93.71s ( The highest can go for the GeForce3 & 5500 combined ), Savage4 32mb on 15", BV services mods. FS RTWR SHRS F-111 JoinFS Little Navmap
April 19, 200818 yr Author Thanks Roman,The code worked like a charm.The initialization procedure definitely needs to be at the top right under the "
Create an account or sign in to comment