September 4, 200322 yr In order to keep certain elements of my HUD visible in all conditions, I need to trigger a color change in several strings when I push a joystick button or a key on the keyboard.Example:(A:Ambient wind velocity, bool)%((A:Ambient wind velocity, knots) d 0 == ?)%!2d!{dpl=WS}So in the above the color is #80FF80 when normal. How would I change it to turn to red, then blue then back to its original color via multiple pushes of a joystick button or keystroke(1 push red, 2 pushes blue 3 pushes back to normal etc)??Any help is always appreciated.Steve
September 4, 200322 yr You can calculate things in the colour tag, e.g. in one of my gauges this looks like this:Color="%( '#FF1C11' '#00FF00' (A:Radio Height, feet) (L:dh, numbers) < ?"So you can try this for your gauge this way: (A: any input) if{ 'the color you want to see' } (A:another input) if{ 'another color' } and so on....Best regards,Harri
Create an account or sign in to comment