Started by
KnickKnack
on
Topic category: Troubleshooting, bugs, and solutions
I have a GUI trait system, like project Zomboid, I made it so the (turned off) toggleable trait (image button) would disappear showing another (turned on) image button (it is behind it in layers, so when the first one disappears, the second one shows behind it. The first image button will disappear instantly after pressing, showing the active one, but when the active one is pressed again, it will not make the first one return until the GUI is reset. (image shows the two buttons separated for understanding)
I suggest printing the condition value in the console to see its value. It could be that condition data is not being synced
its not working klemen, i saw dozens of people with thie problem - the button condition wont load true/false, and i cant find any solution for this, me and gpt are trying for hours now, i have this simple procedure:
IF player have Achievement = X, return True, else false.
the button condition loads it, appear blue there, but it wont read it ingame the button wont appear.
In this case, please consider reporting the bug with minimal demo workspace at GitHub
nobody did yet?? because i seen people having the 100% same problem on 2020 and even before, in 5 years nobody reported it? i made it work with global var (player persistent) - logic, when achievement complete -> return Global Var = true, in this particular case the button condition reads, the problem here is that im doing a spellcast system so i will need a global var for each spell then, do you know another way i could do with just 1 global? thanks!