Jump to content
Sign in to follow this  
pve

FSX XML Macro code

Recommended Posts

Hi all (A:AUTOPILOT HEADING LOCK DIR, degrees) d (G:Var1) - r (>G:Var1) 0 != 4 * (G:Var2) max -- 0 max d (>G:Var2) 0 != 0 > if{ 1 (>L:Hdgdisp, bool) (P:Absolute time, seconds) 4 + (>L:HDGdispSwitch disengage timer, seconds) } (P:Absolute time, seconds) (L:HDGdispSwitch disengage timer, seconds) > if{ 0 (>L:Hdgdisp, bool) } works OK but the visible tag needs @HDGtimer (L:Hdgdisp, bool) || Should it work with only the macro @HDGtimer.


Paul EGLD

Share this post


Link to post
Share on other sites

Paul,"HDGtimer" macro's stack finish empty (equals 0), so it should be enough to test (L:Hdgdisp, bool) value only. Tom

Share this post


Link to post
Share on other sites

Hello Tom Yes it works with (L:Hdgdisp, bool) in an element in FS9 but not in FSX Strange! Will try more. Paul


Paul EGLD

Share this post


Link to post
Share on other sites

Tom Now I am awake, Tried this and it works. (L:Hdgdisp, bool) (Code for heading line display in 737 EHSI Exp. view) Paul


Paul EGLD

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  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...