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.

Share this post


Link to post
Share on other sites
Help AVSIM continue to serve you!
Please donate today!

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

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

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