How do you teleport an event? I have an event with a hero graphic. I used a screen transition, and I want that event to teleport somewhere else (in the same room) while the screen is black. How do I do that? Thanks!
How to teleport an event?
RPG Maker 2000/2003 Supportthere should be an event command "set event location" or something similar.
unfortunately I don't know RM2K(3), so it might be named different at that editor.
unfortunately I don't know RM2K(3), so it might be named different at that editor.
I found it, but it doesn't give you an option to click on the map. Instead it makes you choose constants or variables(Which I don't know how to use.)
wait forget that!
Thank you guys! It worked. Just one more question, is there anyway to make the transition longer? Its not quite long enough to teleport all three events unnoticed.
Use the fade out command, do your teleport, wait however long the transition takes, then fade in.
Just adding: Events are map elements. When your actor goes to some map, the game interpreter (RPG_RT) load all their properties (lower and upper tiles and events) from the Map00XX.lmu file.
For this reason, events cannot be transferred to another map. Because when the actor teleport to another map, the whole map data are flushed and loaded a fresh map according to their LMU (Lucifer Map Unit) file.
I used to put a Wait command between the transitions to the screen take more time erased and I make all the needed code before the another transition comes.
Example:
Code:
<> Erase Screen
<> Wait: 0.2s
<> Set Event Place: [EV0001] (x, y)
<> Wait: 0.2s
<> Show Screen
Thank you, I will try that when I get home.
Thank you!
It seems im doing something wong. Certain characters still seem to teleport after or before the transition. You can see them teleport, instead of them doing it when the screen is black. I tried doing different wait times, but nothing worked. I have a picture of what I did.
edit: the problem seems to be that it doesn't fade out right. it more of a quick flash after some of the characters have already moved. Then when the flash is over, another character moves. I tried adding another wait right after fade out. No luck.
The change-command is made to set new types of screenblend for when a teleport, battle-entrance or battle-end will occur. Use hide and show instead, they are on page 2, last entries on left side, see image in post #3.
If you plan to change player's position too while you are at it, you have to use the change-command to remove the teleport's fadeout and set it back to default afterwards. The player's position-change by transfering has to be the last of position-changing steps, because the screen will show when it finishes.
Just add temporary changes to show-screen if the default one is not what you plan to use.
With help of TKoolBridge, TKcodeScripter or MEX, you can also use the set-vehicle-location command to reference the player instead of a vehicle.
TKcode format (Params: object (-1 = player, 0/1/2 = vehicles), direct/pointer, map, X, Y):
MEX raw-data ("255,255,255,255,127" = -1):
Example (caution, this might break something else if you installed ManiacPatch and TPC):
~炬燵あ
If you plan to change player's position too while you are at it, you have to use the change-command to remove the teleport's fadeout and set it back to default afterwards. The player's position-change by transfering has to be the last of position-changing steps, because the screen will show when it finishes.
Just add temporary changes to show-screen if the default one is not what you plan to use.
With help of TKoolBridge, TKcodeScripter or MEX, you can also use the set-vehicle-location command to reference the player instead of a vehicle.
TKcode format (Params: object (-1 = player, 0/1/2 = vehicles), direct/pointer, map, X, Y):
MEX raw-data ("255,255,255,255,127" = -1):
Example (caution, this might break something else if you installed ManiacPatch and TPC):
~炬燵あ
omg it worked! I cant thank you enough!!
Original thread: https://forums.rpgmakerweb.com/threads/how-to-teleport-an-event.145430/