Save Load Imagemap Code Error ? [SOLVED]

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.
Post Reply
Message
Author
User avatar
pratomoastan
Regular
Posts: 39
Joined: Fri Mar 11, 2016 11:39 am
Projects: My High School Life
Organization: After School Things
Deviantart: pratomoastan
Location: Indonesia
Contact:

Save Load Imagemap Code Error ? [SOLVED]

#1 Post by pratomoastan »

Code: Select all

I'm sorry, but errors were detected in your script. Please correct the
errors listed below, and try again.


File "game/screens.rpy", line 305: end of line expected.
    use load_save_slot(number=1) activate_sound "game\sound\click.ogg" hover_sound "game\sound\click.ogg"
                                 ^

File "game/screens.rpy", line 335: end of line expected.
    use load_save_slot(number=1) activate_sound "game\sound\click.ogg" hover_sound "game\sound\click.ogg"
                                 ^

Ren'Py Version: Ren'Py 6.99.11.1530

LINE 305

Code: Select all

hotspot (148, 124, 467, 143) clicked FileSave(1):
            use load_save_slot(number=1) activate_sound "game\sound\click.ogg" hover_sound "game\sound\click.ogg"
LINE 335

Code: Select all

hotspot (148, 124, 467, 143) clicked FileLoad(1):
            use load_save_slot(number=1) activate_sound "game\sound\click.ogg" hover_sound "game\sound\click.ogg"

Oh I Fix It ><
i place each section of text on a seperate line
~ Sempai !!!

Post Reply

Who is online

Users browsing this forum: Google [Bot], Semrush [Bot], VESTED