[RESOLVED]Enemy teleport to different map when entered

Started by Shadonking, August 28, 2008, 11:04:13 am

Previous topic - Next topic

Shadonking

August 28, 2008, 11:04:13 am Last Edit: September 01, 2008, 07:26:31 am by shadonking
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.





Creator Of Music And Games
Spoiler: ShowHide
]

keywords: ShowHide
rmxp rmvx blizz-abs rpg maker xp vx abs cbs cms script tons of addons charsets autotiles HUD


come here if you have a ps3
http://forum.chaos-project.com/index.php?topic=1952.0

Aqua

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

Shadonking

August 28, 2008, 12:37:33 pm #2 Last Edit: August 30, 2008, 05:38:30 pm by shadonking
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





Creator Of Music And Games
Spoiler: ShowHide
]

keywords: ShowHide
rmxp rmvx blizz-abs rpg maker xp vx abs cbs cms script tons of addons charsets autotiles HUD


come here if you have a ps3
http://forum.chaos-project.com/index.php?topic=1952.0