[SOLVED] Please guys !
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.
[SOLVED] Please guys !
Hi guys, please I need help !
I'm trying to learn how Ren'PY works, but I'm so lost, I searched an issue for hours now...
Well... I wanted to give choices, two choices actually
So I made my lines, and when I tried to make it work...
A strange message appears
"Only one say menuitem may exist per menu"
I don't know how to show you images of my lines... Sorry I know I'm new...
( Sorry about my english too, if you don't understand. Actually, I'm french. I don't even understand the error message in itself... )
I'm trying to learn how Ren'PY works, but I'm so lost, I searched an issue for hours now...
Well... I wanted to give choices, two choices actually
So I made my lines, and when I tried to make it work...
A strange message appears
"Only one say menuitem may exist per menu"
I don't know how to show you images of my lines... Sorry I know I'm new...
( Sorry about my english too, if you don't understand. Actually, I'm french. I don't even understand the error message in itself... )
Last edited by Soleina on Tue Oct 17, 2017 12:29 pm, edited 1 time in total.
Re: Please guys !
I finally managed to have a screenshot of my lines !
So what's wrong ?
So what's wrong ?
- RicharDann
- Veteran
- Posts: 286
- Joined: Thu Aug 31, 2017 11:47 am
- Contact:
Re: Please guys !
Code: Select all
menu:
"Go with Sterenn":
#jump choice_2
"Go with Soleina":
#jump choice_1
Last edited by RicharDann on Tue Oct 17, 2017 1:03 pm, edited 1 time in total.
The most important step is always the next one.
Re: Please guys !
I just did it, like this :
But...
But...
-
- Lemma-Class Veteran
- Posts: 2299
- Joined: Mon Feb 06, 2012 9:50 pm
- Completed: Icebound, Selenon Rising Ep. 1-2
- Projects: Selenon Rising Ep. 3-4
- Organization: Fastermind Games
- Deviantart: sundownkid
- Location: NYC
- Contact:
Re: Please guys !
First of all you forgot the colon after each choice. Programming is very exact and if you don't have it perfectly right it won't work at all. Second of all (and that's an issue with the example given by the last commenter) the jump statements are commented out and shouldn't have the "pound" symbol in front of them.
Here is what it should actually look like:
Here is what it should actually look like:
Code: Select all
menu:
"Go with Sterenn":
jump choice_2
"Go with Soleina":
jump choice_1
- RicharDann
- Veteran
- Posts: 286
- Joined: Thu Aug 31, 2017 11:47 am
- Contact:
Re: Please guys !
You need to add (:) after each menu choice, if you don't Ren'Py won't recognize it as a choice.
If you need to post code, it's better to copy it from editra and paste it here between [code] and [/code] tags, so we can quickly copy the code and test to find what the problem is.
Code: Select all
menu:
"Go with Sterenn": # <-- Notice the : symbol here
#jump choice_2
"Go with Soleina":
#jump choice_1
The most important step is always the next one.
Re: Please guys !
God, it works !
Oh thank you very much, all of you ! Almost three hours that I was on this problem !
Have a nice day, thanks again !
Oh thank you very much, all of you ! Almost three hours that I was on this problem !
Have a nice day, thanks again !
- RicharDann
- Veteran
- Posts: 286
- Joined: Thu Aug 31, 2017 11:47 am
- Contact:
Re: Please guys !
The commented out jumps didn't seem to be related to the error tc described, it seemed like they knew what the # were for so that's why I didn't mention it. Then again, I realize probably should have mentioned it just in case, sorry about that.
The most important step is always the next one.
Who is online
Users browsing this forum: Ahrefs [Bot], Bing [Bot]