November 19, 200322 yr KHere I go again with another weird question:Lets say I have parts of a HUD gauge that I want the color to be user selectable, based on a mouse click.For instance this one switches the text "ASI" between Dark_orange and green based on a mouse clickable area elsewhere in the gauge that loads G Var 8.%ASI%!3d!%And the mouse click area:(G:Var8) ! (>G:Var8)Change HUD ColourHowever, it's only 2 colors, and, given the huge difficulty in finding an appropriate color for a HUD in all the various permutations of weather and terrain situations there are, I would ideally like to have say 5 or 6 colors the user could cycle through until the right color for the situation was found.Any takers on this one???Steve
November 19, 200322 yr Steve,This tests out OK....Color="%('Blue' 'Yellow' 'Red' 'Green' 'White' 'Aqua' 6 (G:Var8) case)"G:Var8 selects the color #... The number 6 is the number of color options.. 0= Aqua1= White2 = Green3 = Red4 = Yellow5 = Blue(G:Var8) 5 == if{ 0 (>G:Var8) } els{ (G:Var8) ++ (>G:Var8) } Regards,Roman FS RTWR SHRS F-111 JoinFS Little Navmap
Create an account or sign in to comment