Zelaron Gaming Forum

Zelaron Gaming Forum (http://zelaron.com/forum/index.php)
-   RPGMaker (http://zelaron.com/forum/forumdisplay.php?f=188)
-   -   Event Help (http://zelaron.com/forum/showthread.php?t=41727)

Mork2k4 2007-01-31 06:28 AM

Event Help
 
Ok here is my problem. I have been working on my game in RPGMaker 2k3 and so far things are working as I plan. But I decided to throw in an item that will teleport you to town. Not to hard fairly simple to make. The only problem is that when I have it teleport me to town I want it to teleport me back to where I originally left. Anyone have any idea how I can accomplish that? Or does it sound out of range for the maker?

Lenny 2007-01-31 09:52 AM

Just because no-one has answered after half an hour it doesn't mean you need to go and make a second thread asking the same thing.

Yes it is possible - you need to use variables, and "Memorise Position"/"Recall Position".

I posted it in another thread recently, so I'll just quote myself.

---

Quote:


In this event you will need to:

a) Memorise Position


This is done as shown:

<>Memorise Location [0001], [0002], [0003]

<>

Sadly, Memorise Position makes use of Variables, but you’ll have to put up with it.

The variables it stores are: Map ID, X Co-ordinate, Y Co-ordinate. You can choose where they are located.

For ease of use, I’ve stored them in:

Variable: [0001:Map ID]
Variable: [0002:X Co-ordinate]
Variable: [0003:Y Co-ordinate]

The Recall to Memorised Position event will use these three to:

- Find the map you were on
- Find the x co-ordinate you were at
- Find the y co-ordinate you were at

I think it may teleport you there automatically, but I’m not entirely sure.

That event, on square on the battle map, or in the victory handler, is:

<>Recall to Location:V[0001] (V[0002],V[0003])
<>

To get the item to do it, you'll need to make the above into a common event, and have whatever item you're using Call the CE.

Mork2k4 2007-02-01 10:34 PM

I apologize for making the second thread. It wasn't that no one posted to it it was that I did not see it when I went back to the forum page. I wasn't sure if I pushed the post button or not and when I made the second one and I didn't see it either I figured it would take a while to update. And thank you for you help.

Mork2k4 2007-02-01 10:41 PM

I apologize for making the second thread. It wasn't that noone had posted to it but that when I post this thread and came back to the forums and didn't see it I wasn't sure if I had clicked the post thread button or not. When I made the second one and saw that it didn't show either I figured that it took a while to post it. And thank you for the help.

Grav 2007-02-03 04:09 PM

Sorry about that, Mork. The deal is that members with less than 10 posts have to have their posts 'approved' by the staff before they can be seen by you or normal members. This is a measure to curb the spambots. For some reason we missed your thread.


All times are GMT -6. The time now is 12:25 PM.

Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
This site is best seen with your eyes open.