If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.
The enter map script is one of the most important scripts in the entire game. It's a system event that uses a content script like an action script. This is a very powerful tool for doing all kinds of things. At the very least you'll want to use then to make cut scenes for your game.
You need the preset enter and exit scripts just to move from one map to another. Without a script, the warp command will place you on the new map facing east (direction 0). The preset script also sets up other things as well. Some you might not need, like vehicle placement, but you need to read through the script and see how it works before you try to change anything.
The main thing the preset exit map script does is check what direction the party is facing when they leave the map, so the enter map script will know that direction to face the party when they enter.
If you started in basic or normal mode then the general Enter and Exit Map scripts were already preset.
Just to be clear, there are two different places to set up the Enter and Exit map scripts. Each map has their own scripts that you can use to allow something special to happen on those maps (cut scenes are the most common use but other possibilities exist). If the slots are left blank, then the Enter map and Exit map scripts set up in game settings will be used instead. This is what has been preset by the game designers.
The preset Enter Map script is called "Script 003: To Map/Facing" while the exit map is called "Script 004: Exit Map" Also look at "Script 270: Game Start 1" for an example of a special enter map script (used for "Preset Town") and "Script 271: Game Start 2" for a special Exit Map script.
Comment