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.
-
chandra123steven
- Regular
- Posts: 28
- Joined: Fri May 13, 2016 7:15 am
-
Contact:
#1
Post
by chandra123steven » Sat May 28, 2016 10:16 pm
Code: Select all
menu:
"Terima Cindy"
jump ending4:
"Tolak Cindy"
jump ending2:
"Abaikan Cindy"
jump ending1:
label ending2:
$ menu_flag = True
scene pantai bertebing
x "[player_name], kumohon jawab"
label ending4:
$ menu_flag = False
label ending1:
$ menu_flag = Else
how to fix it bro ?
thanks
-
sunwave
- Regular
- Posts: 45
- Joined: Fri Apr 15, 2016 2:26 pm
- Location: Netherlands
-
Contact:
#2
Post
by sunwave » Sat May 28, 2016 10:31 pm
You put the : on the wrong place. PUt it after the menu item, not what's IN the menu item. Also, fix your indentation.
Code: Select all
menu:
"Terima Cindy":
jump ending4
"Tolak Cindy":
jump ending2
"Abaikan Cindy":
jump ending1
label ending2:
$ menu_flag = True
scene pantai bertebing
x "[player_name], kumohon jawab"
label ending4:
$ menu_flag = False
label ending1:
$ menu_flag = Else
Users browsing this forum: Bing [Bot], nyeowmi