Hello friends!
I`m having a big problem
Renpy doesnt seem to recognize my if points when they are higher then "1".
for example:
label metjames1: #################I do only have problems with if points of when they are located under a label...###############
if r_relationjames >= 3:
jump jamesfriend
elif r_relationjames <= 3:
scene bg house1day
show jam11 with dissolve
show jam13
hide jam11
j "What is it?"
menu: #####################################This menu part below does work , which makes it even harder for me to understand?#########
"Hello James":
$ r_relationjames =+ 1
$ renpy.notify('Relation improved')
jump complijames
"Lets fight!":
if r_strength >= 10:
jump fight1
if r_strength >=4:
jump fight2
else:
jump fight3
Now i have over 3 relation points with james but whenever i meet him the "jump jamesfriend" command doesnt work.
It only works when i put
if r_relationjames >= 1:
jump jamesfriend
WHAT AM I DOING WRONG?
pls help me
If points are not recognized? PLS HELP ME!
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.
Re: If points are not recognized? PLS HELP ME!
This is in my screens, if thats important:
$ r_relationjames = 0
$ r_max = 100
$ r_relationjames = 0
$ r_max = 100
- Ocelot
- Lemma-Class Veteran
- Posts: 2402
- Joined: Tue Aug 23, 2016 10:35 am
- Github: MiiNiPaa
- Discord: MiiNiPaa#4384
- Contact:
Re: If points are not recognized? PLS HELP ME!
$ r_relationjames =+ 1 is basically
The add-to operator is actually +=
Code: Select all
Set
This variable |
| | to
| | This value (+1 == 1)
V V V
$ r_relationjames = +1
< < insert Rick Cook quote here > >
Re: If points are not recognized? PLS HELP ME!
Oh my god...
Thanks alot Ocelot!
You saved me!
Thanks alot Ocelot!
You saved me!
Who is online
Users browsing this forum: No registered users