Hi folks!
I'm trying to implement some custom error messages that I can display to my players with triggers. I'm aware of solutions like SimError, but this approach does not play nicely with standard errors or other usages of DisplayTimedTextToPlayer. After reading through The Big UI-Frame Tutorial, I figured the best way to create custom error messages would be to directly set text on the Frame that the game itself uses for error/order strings (screenshots below), but I am not able to find the framehandle that ultimately displays this text.
What I've tried so far:
Thanks for your time!
I'm trying to implement some custom error messages that I can display to my players with triggers. I'm aware of solutions like SimError, but this approach does not play nicely with standard errors or other usages of DisplayTimedTextToPlayer. After reading through The Big UI-Frame Tutorial, I figured the best way to create custom error messages would be to directly set text on the Frame that the game itself uses for error/order strings (screenshots below), but I am not able to find the framehandle that ultimately displays this text.
What I've tried so far:
- Hiding each Origin Frame individually.
- GAME_UI and GAME_UI's 4th child both cause the messages to become hidden. Based on Tasyen's guides, I think this means that the Frame with the errors is a SimpleFrame.
- Displaying a message on the screen and iterating through Taysen's list of BrowserFrames and checking their text value.
- Displaying a message on the screen and traversing the Parent/Child tree up and down from Tayen's list of BrowserFrames. The natives crashing made this fragile enough to not be a feasible approach.
Thanks for your time!