Page 1 of 1

Save Load Imagemap Code Error ? [SOLVED]

Posted: Sun Jul 03, 2016 8:38 am
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