Chaos Project

RPG Maker => Event Systems => Event System Requests => Topic started by: Shadonking on August 28, 2008, 11:04:13 am

Title: [RESOLVED]Enemy teleport to different map when entered
Post by: Shadonking on August 28, 2008, 11:04:13 am
i need an event that goes into the enemy event so when i go from one map to anouther it remebers its position and reapears in the same area in an identical map.

is for multi level areas where you need several maps to make bridges. it also only needs to work on certian teleport events so it will probebly need a conditional branch and a switch.

im using blizz-abs.
Title: Re: Enemy teleport to different map when entered
Post by: Aqua on August 28, 2008, 12:01:23 pm
Okay... from what I'm getting this is how you do it.
On your teleport events, have this event code:


@>Control Variables [XXX1:Enemy 1 Map X] = [Enemy 1]'s Map X
@>Control Variables [XXX2:Enemy 1 Map Y] = [Enemy 1]'s Map Y
@>Control Variables [XXX3:Enemy 2 Map X] = [Enemy 2]'s Map X
@>Control Variables [XXX4:Enemy 2 Map Y] = [Enemy 2]'s Map Y

etc. for every monster event
@>Transfer Player:[XXX: Map name], (X, Y)


Then on every map, have this parallel process event:


@>Set Event Location:  Enemy 1, Variable [XXX1][XXX2]
@>Set Event Location:  Enemy 2, Variable [XXX3][XXX4]
@>Erase event
Title: Re: Enemy teleport to different map when entered
Post by: Shadonking on August 28, 2008, 12:37:33 pm
sorry but could you make a demo, becuase im i bit confused

i cant find certian areas in the events to make it.

could this be made into a script. and use call script in the events for it to work. this would be cool and useful for others.

edit

iv done events like you showed plus a few conditional branches but its not working. they not remember where they were in one map and place them selves on the other map in the same spot.i really need help here