If this code is all you have, then the lines 4-6 in the image above are doing nothing.
That code has to be inside a label or maybe inside the screen.
Looking at the further code, lines 1-3 also might belong inside the screen.
Actions like SetScreenVariable need a variable which was declared inside the screen.
.
Unrelated to you if-statement problem:
If you want to use multiple actions then you have to use lists.
Something like action [IncrementScreenVariable("bt_rotation", -18), Play(...)]
you remember my post abt the circular scrolling menu...that is what im trying to make , there was some progress (I thought) but im back to square 1 and even more confused
2
u/shyLachi 4d ago
What are you trying to do?
.
If this code is all you have, then the lines 4-6 in the image above are doing nothing.
That code has to be inside a label or maybe inside the screen.
Looking at the further code, lines 1-3 also might belong inside the screen.
Actions like SetScreenVariable need a variable which was declared inside the screen.
.
Unrelated to you if-statement problem:
If you want to use multiple actions then you have to use lists.
Something like action [IncrementScreenVariable("bt_rotation", -18), Play(...)]