People probably figured this out months ago, but I’ll share this anyways. The syntax has to be right, but it works!
Here’s example code:
<color={Activate1 = 1 ? "#ffff00ff" : "ffffffff"}>YourTextHere
If group 1 is on, the text should be yellow, and white if group 1 is off.
I’ll be definitely using this feature more to make nice buttons with built-in indicators in my cockpits.
Images:
(custom landing gear indicators that I made)
T
@PlaneFlightX Yes, that is what i assumed when i saw this post, i just used <size> as an example to test if it would work.
@DeveloperKorzalerke They work with all tags.
Can confirm it does work with <size>, here's an example code:
<size={Activate1 ? 4 : 2}><color={Activate1 ? "#FF00FF" : "#FFFFFF"}>TeST</color></size>
Normally it just displays the word "TeST", but if you enable AG1 the text turns large and pink, pretty cool discovery, i don't recall seeing this before.
Edit: This code also works but it's a bit longer: {Activate1 ? "<size=4>" : "<size=2>"}{Activate1 ? "<color=#FF00FF>" : "<color=#FFFFFF>"}TeST</color></size>
Hmm, that’s interesting
@X99STRIKER Yeah the tag is sent with the comment, if you add them on a edit it won't work.
@Timplanes Btw i'm pretty sure tags don't work if you add them on a edit, you need to add them when sending the comment or else they won't work.
@Timplanes
I didn’t get tagged from that…
@X99STRIKER Yes, the screenshots are from a small turboprop I’m working on.
This probably also works with other tags like <size> and <alpha>, seems pretty useful.
Is this a plane your gonna upload?
T
Idk what this is but it looks advanced so ima upvote.
I did not know this, thanks for the info
Please tag me on anything you post. If you ever need help, also tag me.