Problem with Tiny Travel Script

ScoopJohn

The guy who asks too many questions
Veteran
Joined
Sep 6, 2013
Messages
254
Reaction score
33
First Language
Italian
Primarily Uses
RMVXA
Hey, it's me again.

I'm having problems with Tiny's Travel script, i added some map locations and i get this error: http://i.imgur.com/4nr8g4J.png

Any solution?

  •  
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,359
Reaction score
7,672
First Language
German
Primarily Uses
RMMV
You added the map locations at the wrong place - in a script, even a space added or missing can count and create errors.


Please link to the script so that we can check how it is done correctly.
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,359
Reaction score
7,672
First Language
German
Primarily Uses
RMMV
Do you see the line with the comment "Don't put a comma if it is the last target"?


That also means of course that there needs to be a comma if it is NOT the last target, and you haven't placed that comma there.
 

ScoopJohn

The guy who asks too many questions
Veteran
Joined
Sep 6, 2013
Messages
254
Reaction score
33
First Language
Italian
Primarily Uses
RMVXA
Do you see the line with the comment "Don't put a comma if it is the last target"?

That also means of course that there needs to be a comma if it is NOT the last target, and you haven't placed that comma there.
Well, i tried to put commas except the last one, but i don't know why it doesn't work, can you locate the mistakes?
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,359
Reaction score
7,672
First Language
German
Primarily Uses
RMMV
:mountain => { :text => "Mountain", :graphic => [900, 800,"berge", 232], :teleportdest => [2, 0, 6] ====> } # Don't put a comma if it is the last target #█ OWN TARGETS :northamerica => {:text => "North America", :graphic => [31, 51,"NorthAmerica", nil], :teleportdest => [?, ?, ?] },The line with ====> is the problem.Because that is no longer the last line, it needs to be changed to

Code:
             },   # comment
 

ScoopJohn

The guy who asks too many questions
Veteran
Joined
Sep 6, 2013
Messages
254
Reaction score
33
First Language
Italian
Primarily Uses
RMVXA
:mountain => { :text => "Mountain", :graphic => [900, 800,"berge", 232], :teleportdest => [2, 0, 6] ====> } # Don't put a comma if it is the last target #█ OWN TARGETS :northamerica => {:text => "North America", :graphic => [31, 51,"NorthAmerica", nil], :teleportdest => [?, ?, ?] },The line with ====> is the problem.Because that is no longer the last line, it needs to be changed to

}, # comment
Ooooh...now i understand...thank you.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??
Yay, now back in action Happy Christmas time, coming back!






Back in action to develop the indie game that has been long overdue... Final Fallacy. A game that keeps on giving! The development never ends as the developer thinks to be the smart cookie by coming back and beginning by saying... "Oh bother, this indie game has been long overdue..." How could one resist such? No-one c

Forum statistics

Threads
105,857
Messages
1,017,015
Members
137,563
Latest member
MinyakaAeon
Top