March 3, 200818 yr Moderator I need some XML that will allow the "blue box" to display around the SN4550's "flags" for about 6 to 7 seconds, then disappear.For example, in pseudo-code:if (HDG or LOC or NAV) then {display blue box for 6 seconds}The blue box is displayed via: (L:HdgSelBox,bool)http://img187.imageshack.us/img187/6739/sn4550flagsax3.jpg Fr. Bill AOPA Member: 07141481 AARP Member: 3209010556 Avsim Board of Directors | Avsim Forums Moderator
March 4, 200818 yr Bill, Give this a try.. Since the above is pseudo code, not really sure where (L:HdgSelBox,bool) is coming from. But it may be necessary to replace it with (A:AUTOPILOT HEADING LOCK, bool) or the code that simulates AP Heading ON/OF I.E. AP HDG HOLD / AP HDG SELECT, most likely though it would be the stock A:Var though. The code could be combined all into one section inside the code but for clarity it was put into it's own .(L:HdgSelBox,bool) 1 == (L:Timer_HDG_Lock,bool) 0 == & if{ (P:ABSOLUTE TIME, seconds) 6 + (>L:Timer_HDG, number) 1 (>L:Timer_HDG_Lock,bool) } (L:HdgSelBox,bool) 0 == (L:Timer_HDG_Lock,bool) 1 == & If{ 0 (>L:Timer_HDG, number) 0 (>L:Timer_HDG_Lock,bool) }(P:ABSOLUTE TIME, seconds) (L:Timer_HDG, number) <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
March 4, 200818 yr Author Moderator Thanks, Roman. That looks like it should work.I was planning to use the flag (L:HdgSelBox,bool) section for the "blue box."(A:Autopilot Heading Lock, bool)(A:Autopilot Nav1 Lock, bool)(A:Autopilot Approach Hold, bool)or or(L:Timer_HDG_Lock,bool) 0 == andif{ ... } Fr. Bill AOPA Member: 07141481 AARP Member: 3209010556 Avsim Board of Directors | Avsim Forums Moderator
March 4, 200818 yr Author Moderator >Are you 'going XML' now, Bill?Some things have come full-circle, Herbie. I must use XML for some gauges for which GDI+ would be "overkill..." ;) Fr. Bill AOPA Member: 07141481 AARP Member: 3209010556 Avsim Board of Directors | Avsim Forums Moderator
Create an account or sign in to comment