- Oct 8, 2020
- 802
- 2,714
I still know very little about "real" coding and I'm sure this is something simple. I tried to read what I could about Screen Actions and think I want to use ToggleScreen to turn a screen on and off. What I don't know how to do, and don't see an example of how to do it, is add a textbutton to the quick menu which will toggle my screen "points" on and off. I know how to force it on and off in the code using show and hide, but I want players to be able to do it themselves.
When I tried adding
to the quick menu section, it doesn't work and the game won't run. I've tried some other variations, but none of them seem to work, either.
When I tried adding
Code:
textbutton _("Points") action ToggleScreen(points)