Jump to content

Sign in to follow this  
n4gix

Six Second Display Timer - XML

Recommended Posts

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

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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{ ... }

Share this post


Link to post
Share on other sites

>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..." ;)

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...