How do I completely stop/remove the timer function?

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
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.
Post Reply
Message
Author
crimsonnight
Veteran
Posts: 298
Joined: Fri Apr 20, 2012 4:44 am
Contact:

How do I completely stop/remove the timer function?

#1 Post by crimsonnight »

Hi all,

I have a problem loading a save at any point after the timer function has been activated (see attached). I'm currently using 'hide' to stop it but I'm guessing that's not sufficient if it's still causing issues with loading half a novel later >_<

Any suggestions would be appreciated!
Attachments
Capture.JPG
alwaysthesamebluesky.com

User avatar
orz
Regular
Posts: 126
Joined: Tue Apr 21, 2015 10:19 pm
Contact:

Re: How do I completely stop/remove the timer function?

#2 Post by orz »

What's the bare minimum you can do that will replicate the bug? Figuring that out should expedite troubleshooting immensely, as well as provide code for someone wanting to test it out themselves.

philat
Eileen-Class Veteran
Posts: 1912
Joined: Wed Dec 04, 2013 12:33 pm
Contact:

Re: How do I completely stop/remove the timer function?

#3 Post by philat »

Given that the problem seems to be that Mesmerized isn't defined, I would try sticking the definition in an init python block. In general, I would put all definitions -- including of functions or screens -- outside of the main flow of the gamescript.

crimsonnight
Veteran
Posts: 298
Joined: Fri Apr 20, 2012 4:44 am
Contact:

Re: How do I completely stop/remove the timer function?

#4 Post by crimsonnight »

philat wrote:Given that the problem seems to be that Mesmerized isn't defined, I would try sticking the definition in an init python block. In general, I would put all definitions -- including of functions or screens -- outside of the main flow of the gamescript.
Putting it in an init block fixed it - cheers!
alwaysthesamebluesky.com

Post Reply

Who is online

Users browsing this forum: Bing [Bot], Ocelot