- Messages
- 542
- Country
I have the following 4 conditions that need to be covered in a Macro ,
the first 2 conditions work , but the third and forth are not working .
Any help on the correct format to get all 4 conditions to work would be appreciated .
Cheers
Karol
the first 2 conditions work , but the third and forth are not working .
Code:
<Macro id="Lubber_Axis" Name="Lubber_Axis">
<MacroValue>
(L:GrndMap_Variant,enum) 5 == (L:TrackUp, bool) 0 == and
if{ pi 2 * }
els{ (L:GrndMap_Variant,enum) 5 == (L:TrackUp, bool) 1 == and
if{ (A:PLANE HEADING DEGREES TRUE,radians) } }
els{ (L:GrndMap_Variant,enum) 4.5 < (L:TrackUp, bool) 0 == and
if{ (A:PLANE HEADING DEGREES TRUE,radians) } }
els{ (L:GrndMap_Variant,enum) 4.5 < (L:TrackUp, bool) 1 == and
if{ (A:PLANE HEADING DEGREES TRUE,radians) } }
</MacroValue>
</Macro>
Any help on the correct format to get all 4 conditions to work would be appreciated .
Cheers
Karol
Last edited: