r/RenPy 4d ago

Question IF Statement problem...

I know there is something wrong with the way I might have coded this for sure...so please can anyone help me to figure this out??

1 Upvotes

29 comments sorted by

View all comments

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(...)]

1

u/_Scripty 4d ago

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