[resolved] Player transfer with variables gets stuck

Ellie Jane

Veteran
Veteran
Joined
Mar 17, 2012
Messages
752
Reaction score
1,488
First Language
English (UK)
Primarily Uses
RMMV
RESOLVED.


Solution: didn't cast to integers before setting the variables. If you accidentally set a game variable as a string (i.e. "100") and then try and transfer player, this quirk happens.


Hi,


In RPG maker MV I am using transfer player with three variables.


I have a startup map that is completely blank apart from an autorun event that says:


Script: initialLoad(); // this grabs some data and sets variables 1, 2, 3 to some numbers


Transfer Player: {MAP} ({XPOS},{YPOS})


Where {MAP}, {XPOS}, {YPOS} are my three game variables.


The transfer works fine and it sends the player to the right map and the right coordinates.


But then no matter where the player is placed on the map, they just stand there, with their walking animation running, unable to move. They are on passable tiles and if I start the game on that map in that location they can walk.


Any idea what could cause this?


Edit: using initialLoad(); without the player transfer works completely fine, so it is definitely the player transfer that is messing up.


Further, replacing the player transfer with a normal one, i.e. setting the position in the editor, works completely fine. It is only when done with variables.
 
Last edited by a moderator:

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

so hopefully tomorrow i get to go home from the hospital i've been here for 5 days already and it's driving me mad. I miss my family like crazy but at least I get to use my own toiletries and my own clothes. My mom is coming to visit soon i can't wait to see her cause i miss her the most. :kaojoy:
Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD

Forum statistics

Threads
105,868
Messages
1,017,074
Members
137,578
Latest member
JamesLightning
Top