RMRK is retiring.
Registration is disabled. The site will remain online, but eventually become a read-only archive. More information.

RMRK.net has nothing to do with Blockchains, Cryptocurrency or NFTs. We have been around since the early 2000s, but there is a new group using the RMRK name that deals with those things. We have nothing to do with them.
NFTs are a scam, and if somebody is trying to persuade you to buy or invest in crypto/blockchain/NFT content, please turn them down and save your money. See this video for more information.
teleportation skill?

0 Members and 1 Guest are viewing this topic.

**
Rep:
Level 84
is there a way to make a teleportation skill?   

like if the player presses a button or somthing he wi get teleported a few tiles forward

i am bad at explaining (and spelling) but i think it is possible to understand me :)

********
Resource Artist
Rep:
Level 94
\\\\\
Project of the Month winner for June 2009
make a common event, track 3 variables. 1 variable for your player's X position and 1 variable for your player's Y position and 1 variable for the MapID. Then alter the X variable and add 2 or 3 to it. Then in the common event, (along with that stuff) make a teleport event command that teleports according to variables of X(+2 or 3), Y, and MapID. Put all of this inside of a conditional branch for IF your player is pressing whatever button, then all this happens. Then set the common event to parallel process and make a global switch to turn the process on and off. I haven't tested it, but I don't know what would happen if you were at the edge of a map and tried to teleport. You might get an error message, but ideally, you would just not teleport.