Jump to content
New account registrations are disabed. This website is now an archive. Read more here.
  • 0
BobaTea

Player Transferring Questions

Question

Hello! I'm rather new to RMXP, so I hope you will bear with me. :) I have a couple of questions regarding transferring a player between two maps. I will try my best to explain them clearly, but please let me know if I need to better clarify something.

 

1. Is it possible to allow a player to walk all the way to the edge of a map before transferring? I am currently using a Player Touch triggered event, which of course transfers the player as soon as he reaches the designated tile (facing the correct direction). However, if possible, I would like for the transfer to wait until the player continues moving forward "off the map" from that tile. Does that make sense at all?

 

2. Similarly, once a player transfers to the new map, I would like for him to be able to "about face" and transfer back, without having to step off the tile, and step back again. Is this possible using events, or would I need to use a script?

 

I hope my questions weren't too confusing. I'm not sure I did a very good job describing them. orz

 

Thank you in advance for any help you might be able to give! :)

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0

I don't think it's possible with events, but I could try to make a script for it.

Share this post


Link to post
Share on other sites
  • 0

if i have got your question correct you want the player to be able to move on the outside tiles, and if he presses the direction that leads of the map to another you want it to transfer them, if this is the case you can do it very simply with eventing, heres an image of an event that could do this:

 

 

transferevent.png

 

 

all you need to really do is track the x any y of the character and make it transfer you depending on the current tile id and direction being pressed, i put the wait 4 frames so you wouldn't transfer immediately when entering the tile, because usually a frame passes over while entering the tile so technically your pressing it on that square when you press it to enter it, hope this helps :)

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...