Main Menu
  • Welcome to The RPG Maker Resource Kit.

Syntax problem

Started by magic2345, January 13, 2007, 06:37:38 AM

0 Members and 1 Guest are viewing this topic.

magic2345

How come in one event I always get a syntax error.
The code is:


<>Script : $game_system.add_shortcut('\c1', '\nm[Arshes]\face
:        :[Arshes]\fl\')
:        :$game_system.add_shortcut('\c2', '\nm[Basil]\face
:        :[Basil]\fr')
:        :$game_system.add_shortcut('\c3', '\nm[]\face[]')
<>Flash Screen: (0,0,0,255), @30
<>Move event: Player
            :<>Graphic: '189-Down01'. 0. 2, 0
<>Wait: 20 Frames
<>Message: \ignr\c0
:        :WOOAH!
<>Move Event: Player
:           : <>Phasing Mode On
:           : <>Jump: +5, +2
:           : <>Wait: 30 Frames
:           : <>Graphic: '001-Fighter01'. 0. 2, 0
<>Wait: 20 Frames
<>Move Event: [EV002]
:           : <>Move left
:           : <>Move left
:           : <>Move left
:           : <>Move left
:           : <>Move left
:           : <>Move left
:           : <>Move left
:           : <>Face Left
:           : <>Wait: 1 Frame
<>Message: Arshes! Kamu nggak apa-apa kan?
<>Message: \c1Aduh...Sakit...Tapi nggak apa-apa
<>Message: \c3\nm[Bu Resa]Bener nggak apa-apa, ya udah
<>Move Event: [EV002]
:           : <>Move Right
:           : <>Move Right
:           : <>Move Right
:           : <>Move Right
:           : <>Move Right
:           : <>Move Right
:           : <>Move Right
:           : <>Move Right
<>Local Switch: A = ON
<>


I set the trigger to be "Auto Start"
Graphic None
MOvement Pattern: None
SPeed: Slow
Frequency: Slow

Is anything wrong with the event?
Oh, and I'm using Universal Message System (UMS)

Note: The messages are in another language.
Game I'm Working on:
-ADVENT-
Progress:
Story: 96%
Maps: 4%
Characters: 70%

Arrow

#1
Which line is it at? What does the error message say exactly?

magic2345

#2
The message says = ?????????? SyntaxError ???????????

ANd about the line....what do you mean? If its about the script, then its in the Game_Temp, on the third line. Then one that says

#--------------------------------------------------------------------------------------

edit: Funny thing...When I erase the event, it goes normally...weird... ???
Game I'm Working on:
-ADVENT-
Progress:
Story: 96%
Maps: 4%
Characters: 70%

Synthesize

Are you using an Advanced Message System? Is there a particular place the event errors or does it just not start?

Falcon

<>Message: \c1Aduh...Sakit...Tapi nggak apa-apa
Try putting a space between \ci and the rest

magic2345

#5
I'm using UMS (Universal Message System). When I teleported to an inside of this home, it plays the BGM, show the map but then came a message saying "syntax error"

Oh, and putting a space doesn't help...Sorry, even erasing the event doesn't help...maybe I should make the map again? The map is inside a house...

The problem is either in the event...or the map....
Game I'm Working on:
-ADVENT-
Progress:
Story: 96%
Maps: 4%
Characters: 70%

Blizzard

Post the script you are using, that might help.
Get King of Booze for Android, for iOS, for OUYA or for Windows!
Visit our website.
You can also love/hate us on Facebook or the game itself.



Get DropBox, the best free file syncing service there is!

magic2345

Never mind...The problem is in the event before I teleported.
Game I'm Working on:
-ADVENT-
Progress:
Story: 96%
Maps: 4%
Characters: 70%