I'm using part of Bjoern K's Airbus callouts gauge to play some callouts in my HUD/Panel. It uses a macro "altitude" to control which callout sounds to play. I want to modify it so I can include the deck height of a carrier if I'm landing on a carrier. I created and control (L:CarrierLanding, bool) and (L:CarrierDeckHt, number) in another gauge in my panel.
The macro "altitude" is used in the sound control gauge is used to pass the altitude on so it know which sound to play etc. the original is
I modified it to this but can't get it to work
I can't figure out why this won't work, I must be missing something.
This is FSX ACExml. also i did check and my L:vars are being created and to contain the desired info.
Thanks
Joel
The macro "altitude" is used in the sound control gauge is used to pass the altitude on so it know which sound to play etc. the original is
Code:
<Macro id="Altitude" Name="Altitude">
<MacroValue>(A:Radio Height,feet) (A:STATIC CG TO GROUND,feet) -
</MacroValue>
</Macro>
I modified it to this but can't get it to work
Code:
<Macro id="Altitude" Name="Altitude">
<MacroValue>(L:CarrierLanding, bool)
if{(A:Radio Height,feet) (A:STATIC CG TO GROUND,feet) - (L:CarrierDeckHt, number) - }
els{(A:Radio Height,feet) (A:STATIC CG TO GROUND,feet) - }
</MacroValue>
</Macro>
I can't figure out why this won't work, I must be missing something.
This is FSX ACExml. also i did check and my L:vars are being created and to contain the desired info.
Thanks
Joel
Last edited:

