Hi,
My renpy script returns an error and I don't understand why. I have used the "SetVariable" function many times in the past without issues, and to my knowledge the timer accepts the SetVarible action. I'm joining some screenshots.
timer action SetVariable expected statement
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
timer action SetVariable expected statement
- Attachments
-
- Capture2.PNG (5.75 KiB) Viewed 272 times
-
- Capture1.PNG (1.8 KiB) Viewed 272 times
Re: timer action SetVariable expected statement
"Expected statement" might mean your syntax on a previous line has an error, so renpy thinks this is supposed to be a continuation of a previous block. Could you post the code for your whole screen?
colin r
➔ if you're an artist and need a bit of help coding your game, feel free to send me a PM
➔ if you're an artist and need a bit of help coding your game, feel free to send me a PM
Re: timer action SetVariable expected statement
Here is the whole label.
- Attachments
-
- Capture3.PNG (10.78 KiB) Viewed 262 times
- m_from_space
- Miko-Class Veteran
- Posts: 941
- Joined: Sun Feb 21, 2021 3:36 am
- Contact:
Re: timer action SetVariable expected statement
You are using a timer object / keyword inside a label. Timers are used inside screens only.
Who is online
Users browsing this forum: No registered users