- Messages
- 37
- Country

I am trying to create a Way Point ALERT flag that goes off when the next way point is less than 4 miles away. But when I add a seemingly basic piece of code the entire gauge disappears
... I really have no idea why.
Here is what is ruining my entire instrument:
Here is what is ruining my entire instrument:
Code:
<Element id="Waypoint Alert">
<Select id="Select">
<Expression id="Expression">
<Script>
(A:GPS WP DISTANCE, miles) 4 <
if{ 1 (>L:WPAlert,bool)}
els{ 0 (>L:WPAlert,bool)}
</Script>
</Expression>
</Select>
</Element>
