View Single Post
 
Reply
Posted 2007-01-27, 04:18 PM in reply to Goodlookinguy's post "[Check out my signiture]"
I worked it into something I was doing for somebody... then realised I was going about it the wrong way. So I saved it.

Here's what I wrote - you'll have to take it and use the same principles to your own means.

---

Quote:

Map Event for Monster Group Attack

In this event you will need to:

a) Memorise Position
b) Call Common Event for Monster Group
c) Call Common Event for Battle Terrain

This is done as shown:

<>Memorise Location [0001], [0002], [0003]
<>Call Event: Monster Group CE
<>Call Event: Battle Terrain CE
<>

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])
<>
Old
Profile PM WWW Search
Lenny simplifies with no grasp of the basicsLenny simplifies with no grasp of the basicsLenny simplifies with no grasp of the basicsLenny simplifies with no grasp of the basicsLenny simplifies with no grasp of the basicsLenny simplifies with no grasp of the basics
 
 
Lenny