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.
scene gender
"What is your gender?"
menu:
"she":
("[povgender!t]")== "she" :
"he":
("[povgender!t]") == "he":
if ("[povgender!t]") == "she":
pov "I prefer she."
if ("[povgender!t]") == "he":
pov "I prefer he."
w "Oh.. Hi there.."
if ("[povgender!t]") == "he":
w "Jasper calm him down.."
if ("[povgender!t]") == "she":
w "Jasper calm her down.."
j "o-oh uh... sure... (He nods a bit unsure)"
Last edited by Owl.Child on Fri Feb 17, 2017 8:33 am, edited 3 times in total.
Completed: Toire No Hanako, Li'l Red [NaNoRenO 2013], The One in LOVE [NaNoRenO 2014], Running Blade [NaNoRenO 2016], The Other Question, To The Girl With Sunflowers
w "Oh.. Hi there.."
if ("[povgender!t]") == "he":
w "Jasper calm him down.."
if ("[povgender!t]") == "she":
w "Jasper calm her down.."
j "o-oh uh... sure... (He nods a bit unsure)"
Last edited by Owl.Child on Fri Feb 17, 2017 8:32 am, edited 1 time in total.
scene gender
"What is your gender?"
menu:
"she":
$ povgender = "she"
"he":
$ povgender = "he"
if povgender == "she":
pov "I prefer she."
elif povgender == "he":
pov "I prefer he."
w "Oh.. Hi there.."
if povgender == "he":
w "Jasper calm him down.."
elif povgender == "she":
w "Jasper calm her down.."
j "o-oh uh... sure... (He nods a bit unsure)"
scene gender
"What is your gender?"
menu:
"she":
$ povgender = "she"
"he":
$ povgender = "he"
if povgender == "she":
pov "I prefer she."
elif povgender == "he":
pov "I prefer he."
w "Oh.. Hi there.."
if povgender == "he":
w "Jasper calm him down.."
elif povgender == "she":
w "Jasper calm her down.."
j "o-oh uh... sure... (He nods a bit unsure)"
scene blank
$ povname = renpy.input(_("What is your name?"))
pov "My name is [povname!t]."
scene gender
"What is your gender?"
menu:
"she":
$ povgender = "she"
"he":
$ povgender = "he"
if povgender == "she":
pov "I prefer she."
elif povgender == "he":
pov "I prefer he."
scene blank
n "Well, [povname!t] ,
if povgender == "he":
w "Jasper calm him down.."
elif povgender == "she":
w "Jasper calm her down.."
"You choose to..."
menu:
"Push him away":
$ you = "No"
"Smile and hug back":
$ you = "Yes"
if you == "No":
pov "!"
j "Oh uh.. s-sorry.."
elif you == "Yes":
"you weirdly enjoy his touch"
"Jasper smiles"
(Sorry about that, I'm a bit of a nwebie)
Last edited by Owl.Child on Fri Feb 17, 2017 8:32 am, edited 1 time in total.
and [/ code] tag when you post your code in this forum. You can edit your post and add the tag there.[/quote]
Sorry about that, I've fixed my scripts to coding. Sorry again
Ok, I'm missing the part where you define that "pov" and other character. Are they also in script.rpy?
And your new code that you posted above doesn't contain the line that mentioned in this error message.
Did you actually update your script.rpy?
indoneko wrote:Ok, I'm missing the part where you define that "pov" and other character. Are they also in script.rpy?
And your new code that you posted above doesn't contain the line that mentioned in this error message.
Did you actually update your script.rpy?