Lemma Soft Forums

Supporting creators of visual novels and story-based games since 2003.


Visit our new games list, blog aggregator, IRC, and wiki.
Activation problem? Email [email protected]
It is currently Sat May 18, 2013 6:34 pm

All times are UTC - 5 hours [ DST ]


Forum rules


Ask questions about one topic per thread, and use a descriptive subject. "NotImplemented error in script.rpy" is a good subject, "Tom's problems" is not. Remember to include all of traceback.txt or error.txt when reporting a problem, as well as the relevant lines of script. Use the [code] tag to format scripts.



Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Thu Jul 05, 2012 12:14 pm 
Veteran
User avatar

Joined: Mon May 14, 2012 1:27 am
Posts: 350
Projects: Driftwood
Organization: MV Swag Squad
I've looked over the Remembering User Choices section on the Ren'py website and I didn't find as to whether or not you could do this, but I'm trying to set up and option that would allow to do this

"I'll do this" if G_points > K_points ( But I also want it to be so that --- ) "I'll do this" if G_points = K_points

I'm taking a wild guess but would it instead be

"I'll do this" elif G_points > or = K_points

Am I close or completley wrong? Thanks for the help ahead of time.

_________________
You gotta be kitten' me, Stop it right meow, I aint even lion.

Projects: Driftwood

Image - Logo by WoPairs


Last edited by wakagana on Thu Jul 05, 2012 1:31 pm, edited 1 time in total.

Top
 Profile Send private message  
 
PostPosted: Thu Jul 05, 2012 1:23 pm 
Miko-Class Veteran
User avatar

Joined: Tue Jul 24, 2007 12:58 pm
Posts: 526
The greater than or equal sign in python is >= so you'd say
"I'll do this" if G_points >= K_points:

You could also say

"I'll do this" if G_points > K_points or G_points == K_points:

if you wanted, but why make it longer when you don't have to?


Top
 Profile Send private message  
 
PostPosted: Thu Jul 05, 2012 1:31 pm 
Veteran
User avatar

Joined: Mon May 14, 2012 1:27 am
Posts: 350
Projects: Driftwood
Organization: MV Swag Squad
Thank you. For what ever reason I figured >= was not valid for an option. >.> -headdesk-

_________________
You gotta be kitten' me, Stop it right meow, I aint even lion.

Projects: Driftwood

Image - Logo by WoPairs


Top
 Profile Send private message  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: Chaotic


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Protected by Anti-Spam ACP
Powered by phpBB® Forum Software © phpBB Group