Main Menu
  • Welcome to The RPG Maker Resource Kit.

[resolved] Transfer Player

Started by Taji, August 21, 2009, 02:56:53 PM

0 Members and 1 Guest are viewing this topic.

Taji

K, Taj again, sorry

How can i do a Transfer Player to (xxx)-(xxx), (xxx) in script form?

albertfish

Try this
$game_temp.player_new_map_id = map id
$game_temp.player_new_x = x coordinate
$game_temp.player_new_y = y coordinate
$game_temp.player_new_direction = facing direction

I haven't try it yet but tell me if it works.

shaz

In addition to the above, the interpreter includes:

$game_temp.player_transferring = true


and if you want the screen to fade, add this at the end:

Graphics.freeze
$game_temp.transition_processing = true
$game_temp.transition_name = ""
Always remember you're unique.
Just like everybody else.

Taji