October 21, 200223 yr I think someone here asked how to create a warning light that flashes. Well, I've discovered how to do this.Frustrated with my XML failures, I closed FS and restarted it some hours later when I had a moment to work on the EIS master warning light again. To my surprise, the warning light was FLASHING steadily on and off! Reloading FS must have engaged something.Anyway, here is the code that causes the warning light to flash: <Element><Text Bright="Yes" X="60" Y="12" Length="10" Fixed="Yes" Font="Quartz" BackgroundColor="Black" Color="Red" Adjust="Center" VerticalAdjust="Center"> <String>%((A:indicated altitude, feet) 250 <= if{ (L:EIS Alarm, bool) ! (>L:EIS Alarm, bool) })%!+3d!</String> </Text></Element> You see if this element is evaluated over and over, it will keep flipping the EIS Alarm value between one and zero at the gauge update rate as long as the aircraft is below 250 feet.Steve
Create an account or sign in to comment