iPhone App Directory
RPG Maker VX
 
Gallery Members Search Calendar Help


Welcome Guest ( Log In | Register )

Collapse

>Announcement

2nd Quarter Contest Announcement posted! See the Community Announcements section.

> ATTENTION!

Ace questions are not permitted to be posted. VX questions only, thanks in advance!

 
Closed TopicStart new topic
> Portable Portal?, Confused about returning...
Hitchner
post Mar 31 2012, 01:25 AM
Post #1



Group Icon


Type: Undisclosed




Ok so I created a unique item that lets the player teleport themselves to a certain map in the "Heavens". When they want to return though, I want to make it so it returns them to the exact tile they were standing on before they used the item. Now I created a common event for the item, but how do I return them to where they were before?
Go to the top of the page
 
+Quote Post
   
Divine Justice
post Mar 31 2012, 01:37 AM
Post #2



Group Icon


Type: Undisclosed




In the common event that is linked to the item, simply use three variables to store the player's X and Y coordinates, and the map ID. Then when transferring the player back, you can choose these variables instead of selecting a map manually, and it'll transfer the player back to where they left off.
Go to the top of the page
 
+Quote Post
   
Hitchner
post Mar 31 2012, 02:30 AM
Post #3



Group Icon


Type: Undisclosed




EDIT: Never mind, I found a way smile.gif

Thanks a lot!


This post has been edited by Hitchner: Mar 31 2012, 02:39 AM
Go to the top of the page
 
+Quote Post
   

Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 23rd May 2013 - 11:17 AM

RPGMakerVX.net is an Privacy Policy, Legal.