September 1Sep 1 I have been trying to use a button on my Stream Deck to modify ATC ID in MSFS 2024 without success.I have been testing in the Script Editor with a simple scriptA35·(>A:ATC·ID,·String)The Script Editor does not like any non numeric characters being sent to the variable so the indicator is red but the Debug Window shows the script executing but there is no change to ATC ID.In an attempt to validate what I am trying to achieve I ran SimVar Watcher from the SDK and was able to change the ATC ID. On a side note SimVar Watcher did not accept non numeric characters either but I was able to modify the program to allow me to paste in non numeric characters. Edited September 1Sep 1 by Netman189
September 1Sep 1 Commercial Member 29 minutes ago, Netman189 said:The Script Editor does not like any non numeric characters being sent to the variable so the indicator is red but the Debug Window shows the script executing but there is no change to ATC ID.String literals must be enclosed in single quotes'A35'·(>A:ATC·ID,·String)Spec is here: AAO manual -> "RPN Operators in AAO" -> "String operators" -> first line after that header. Edited September 1Sep 1 by Lorby_SI LORBY-SI
September 1Sep 1 Author Thanks, I thought that I must have made at least one silly mistake!The addition of single quotes does turn the light green but there is still no change to the value of ATC ID.
September 2Sep 2 Commercial Member 13 hours ago, Netman189 said:Thanks, I thought that I must have made at least one silly mistake!The addition of single quotes does turn the light green but there is still no change to the value of ATC ID.You're right, it doesn't. Strange, that used to work. Must be a bug of some kind, I will look into it. LORBY-SI
September 5Sep 5 Commercial Member Confirmed, that is a bug. Assigning values to String AVars is not possible at the moment, even the work around method fails. Sorry about that, the issue will be fixed in the next version. LORBY-SI
Create an account or sign in to comment