What it does: The player uses a spell to memorize his current location.
Then, he uses another spell to return to that location.
What you can do with it: You can travel to an inn you "marked", or to a dungeon's exit, or wherever else you wish. Just use the "Mark" spell to memorize the desired area.
Let's make it!
First, create 3 variables: "Position: map ID", "position: x", "position: y"
-The first is used to store the map's ID, where the player "Marks"
-The second is used to store the players position on the X axis, which means how left or right the palyer is on the map.
-The third is used to store the player's position on the Y axis, how up or down he's on the map.
Then, create an item. Call it whatevet you want, I'll call it Dimension Gem. It's the item you need to return to your marked position.
Then, create a common event. We'll call this "Mark", because it marks the location where the player is.
this event shows your first character cast a spell, and stores your position info in the three variables we already created.
Now, create another common event. We'll call this "Recall", because it returns the player to the location he "Marked", no matter where he is.
This event checks if you own a Dimension gem, and if you do, returns you to the marked position.
You can use only lines 2-12 if you don't wish your skill to require an item.
Finally, create 2 skills, like this:
one for mark, one for recall.
Link the appropriate common event as shown. Set the occasion to "Menu only", the scope to "none", adjust the sp cost.
Give your skills to a character, give him some gems too, and enjoy.
*** Warning. If you try to use "Recall"without using "Mark" first, the game crashes. That's because your variables are initially equal to zero, and there is no zero map ID. You could use an event to give them the appropriate map ID, x and y for the place where you initially give the characters the spells.
Any questions or ideas are more than welcome!
Then, he uses another spell to return to that location.
What you can do with it: You can travel to an inn you "marked", or to a dungeon's exit, or wherever else you wish. Just use the "Mark" spell to memorize the desired area.
Let's make it!
First, create 3 variables: "Position: map ID", "position: x", "position: y"
-The first is used to store the map's ID, where the player "Marks"
-The second is used to store the players position on the X axis, which means how left or right the palyer is on the map.
-The third is used to store the player's position on the Y axis, how up or down he's on the map.
Then, create an item. Call it whatevet you want, I'll call it Dimension Gem. It's the item you need to return to your marked position.
Then, create a common event. We'll call this "Mark", because it marks the location where the player is.
http://i191.photobucket.com/albums/z247/ravenith/tut3.png[/IMG] *** The variable IDs do not have to be the same as in the picture, use your own variable IDs
Now, create another common event. We'll call this "Recall", because it returns the player to the location he "Marked", no matter where he is.
http://i191.photobucket.com/albums/z247/ravenith/tut2.png[/img] *** The variable IDs do not have to be the same as in the picture, use your own variable IDs
You can use only lines 2-12 if you don't wish your skill to require an item.
Finally, create 2 skills, like this:
http://i191.photobucket.com/albums/z247/ravenith/tut1.png[/img]
Link the appropriate common event as shown. Set the occasion to "Menu only", the scope to "none", adjust the sp cost.
Give your skills to a character, give him some gems too, and enjoy.
*** Warning. If you try to use "Recall"without using "Mark" first, the game crashes. That's because your variables are initially equal to zero, and there is no zero map ID. You could use an event to give them the appropriate map ID, x and y for the place where you initially give the characters the spells.
Any questions or ideas are more than welcome!