Help - Search - Members - Calendar
Full Version: [Sub]Warp to visited Map skill
RPG RPG Revolution Forums > Scripting > Event Emporium > Eventing Tutorials
lilcooldude69
Teleport Skill Event



Author lilcooldude69
Release date 10/2/10
Engine used Rpgmaker VX
Difficulty Easy
Switches depends on how many maps are used, 1 per map
Variables 1

------------------------
Information
Creates a skill that allows the player to teleport to an already visited map
Teleport Event
First
Create A skill that will be used for teleporting, set the scope as "none" and the occasion as only from the menu, save it
Second
Common Event

Create a common event Name it Teleport use the picture as a refrence for what im about to tell you,
In the common event add a text box asking if you would like to teleport
After that add choices "Map name" and cancel as the choices in this tut i will only be using one map,
Under World map (aka your map or your choice of text)make a conditional branch for a switch to be on in this case i used switch 2
After that within the conditional branch make a variable name it Player map id set it to players map id
Then make another Conditional Branch with the variable you just made set it to 2 (the number of the map he will be teleporting to if you cant find the map id you can find it by clicking on the map in the main window and looking in the lower right corner of the main window and it will tell you the id of the map)
Then in that branch add text make it say your on this map already and add an exit event proccessing command
Then after that branch make a transfer player command within the other conditional branch you made b4 this one make it transfer the player to the map you want him to transfer to when he chooses this option
Under cancel put an exit event processing command
and your done with the common event biggrin.gif phew
Third
Go back to the skill you made in the beggining of this tutorial and set its common event to the one you just made
Fourth
Make an event on the map the player has to visit b4 he can teleport there
the event should turn on whatever switch u specified in the common event in my case i would turn on switch 2
Recap Images
Common Event

Skill

Event on Visited Map

Conclusion
Vola you have an event based teleport skill post here if you have any questions i'll be sure to answer them biggrin.gif make sure you credit me if you use it

P.S. leave feedback plz tell me what you guys think of it biggrin.gif
Alt_Jack
You could also use a number input variable, and have items that "bookmark" each level.
go:
QUOTE
input #: level warp
condition branch: if variable: level warp= X
->condition branch if item: marker X is in inventory, transfer player to ________
-else-text: i don't know where that is!

I'm not sure if you need a switch, either. I could be wrong, though.
lilcooldude69
yeh that might work a lil better cept it woul fill up inventories if u hav alot of maps unless the number of items = how many maps u have book marked and each visited map increases the item
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2013 Invision Power Services, Inc.