January 21, 20242 yr Hi, all. I'm totally new in this so sorry if this has been answered before or this is not the right place to put the question. I've created an object for SD and SD+ that shows AIRSPEED INDICATED value. I'd like to change the background of the object to yellow or red if the indicated airspeed of the aircraft falls into the dangerous zones. Of course every aircraft has different yellow and red AS zones. Is it possible to do this with a script in AAO? Has anyone created a sample I could use to learn? I have been using AAO for only two days but I won't fly without it anymore. Very good job!! Best regards, *******
January 21, 20242 yr Commercial Member 21 minutes ago, VillaJota said: Is it possible to do this with a script in AAO? Not in AAO, you do that on the StreamDeck itself. But there are about a dozen different ways to do it. The best option is probably a MultiGauge Action, where you can have an infinite number of image layers and you can set the visibility of each with RPN code or a variable. So you would create a yellow picture and a red one, add both as image layers and handle their visibility according to what you need. On top of them you add a text layer with your text output. Alternatively use a slider gauge. Make an image strip consisting of a red square and a yellow square, and use a SliderGauge action to pull it into position with a script in the action.On the same gauge you can also display your text. Or... find another creative alternative, there are many. Feel free to alter the SD plugin, it is ultimately just a JavaScript example for using the AAO WebAPI. Did you see the PDF document that came with the AAO SD Plugin? 21 minutes ago, VillaJota said: Has anyone created a sample I could use to learn? Several. Go to flightsim.to, there are many AAO StreamDeck profiles for different aircraft availavble for download, made by talented simmers (don't forget to buy them a coffee!). Edited January 21, 20242 yr by Lorby_SI LORBY-SI
January 22, 20242 yr Author Quote Did you see the PDF document that came with the AAO SD Plugin? No, I had not seen it, but I've just taken a fast look into it and I think that Multigauge is what I need, thanks! Now my problem is finding the right variables... I've made a search and I have not found speed limits as variables, but this probably must be questioned in another forum 🙂I'm really new programming MSFS, this is a whole new world, but I don't think it will be more difficult than C# Maybe I'll ask chatGPT 😆I have already seen the profiles in Flightsim.to and downloaded some... and coffees and on their way. Thank you very much, *******
Archived
This topic is now archived and is closed to further replies.