Easy way to check minimum and maximum of variable?

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
User avatar
Sami-Fire
Regular
Posts: 31
Joined: Wed Feb 18, 2015 3:36 pm
Tumblr: execdreamcycle
Deviantart: Sami-Fire
Soundcloud: Sami-Fire
Contact:

Easy way to check minimum and maximum of variable?

#1 Post by Sami-Fire »

Hello! I hope this is in the right place... are there any tools or anything like that that can help check the minimum and maximum values a variable in a Ren'Py script can have, or do I have to manually count what the value goes to? It feels like there should be something for this, but I'm not sure.

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

Re: Easy way to check minimum and maximum of variable?

#2 Post by philat »

There's no built-in function for this, but you can build your own limiter with python callbacks. http://lemmasoft.renai.us/forums/viewto ... ck#p347595

Post Reply

Who is online

Users browsing this forum: Google [Bot]