Question about a certain script.

Unce

Villager
Member
Joined
Feb 6, 2014
Messages
6
Reaction score
0
First Language
English
Primarily Uses
http://www.rpgmakerv...3-updated-0921/ is the link. I can't get it to work, it doesn't really make sense. I have tried the demo too. If someone can post screencaps or a tutorial that would be nice! Thanks!
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,365
Reaction score
7,675
First Language
German
Primarily Uses
RMMV
It would be helpfull if you tell us where in those descriptions you have problems understanding, especially since it's rather simple - under the condition that you understand how to use variables.


If you do not know how to use variables, then I suggest that you go back to the tutorials until you do, because variables are one of the most basic parts of eventing, and you won't be able to make your game until you understand them.


That said, the use of the script with its basic options is simply: upon entering any map, have an autorun event store the IDs of the four maps that are top, right, bottom and left of the current map into the four variables you set up in the configuration part of the script (it defaults to variables 21 to 24 if you don't change the configuration).


The fifth and last command in the autorun (after the four control variable commands) needs to be "erase event".


Do that for every map that uses the edge transfer, and it will work.


If you need help with tutorials and variables, follow the link in my signature
 
Last edited by a moderator:

Unce

Villager
Member
Joined
Feb 6, 2014
Messages
6
Reaction score
0
First Language
English
Primarily Uses
http://pastebin.com/KLEu776v

Here is a pastebin of my script (image wouldnt work).  I made the autorun as the bottom script. Just a question, do I need to setup this script for the other map too?
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
I've moved this thread to RGSSx Script Support. Please be sure to post your threads in the correct forum next time. Thank you.
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,365
Reaction score
7,675
First Language
German
Primarily Uses
RMMV
http://pastebin.com/KLEu776v


Here is a pastebin of my script (image wouldnt work).  I made the autorun as the bottom script. Just a question, do I need to setup this script for the other map too?
I said autorun event, not script - you don't need the script command to control the script itself. and erase event isn't even a script command, it works only in events.
Usually you should just copy that script into a slot of the script editor, and then close and forget the script editor, using only events on every map until all the maps are connected.


The way you set that up would result in being able to leave the map only at the bottom, and it would transfer the player to the map with the ID 23.


And you need to set up one event with those commands on EVERY map, with different numbers depending on your map's positions relatively to each other.


If you already have twenty-three maps (as your example indicates) then you'll need one event on each of those maps.
 

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

Latest Threads

Latest Posts

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
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'??

Forum statistics

Threads
105,865
Messages
1,017,059
Members
137,575
Latest member
akekaphol101
Top