Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Hello, I am trying to create a map teleportation feature. Since the player's coordinates are uncertain, I need to save the player's coordinates and then teleport. In your plugin, I know that I can disable variable rounding using the 'Disable Variable Rounding' feature, but when I try using the 'Transfer Player Float' function, I input the X and Y parameters as $gamePlayer.x and $gameVariables, but it teleports me to an unknown location. When I check the variables, I find that my coordinates are always at 0, no matter how I move. I'm not sure if I can use $gamePlayer or $gameVariables in the plugin command.

Also, I have another problem: when I create a looping map, if the character tries to move from x=40 to x=1, the character immediately turns back instead of crossing over. Is there a way to solve this?

This is my first time using MZ, and since English is not my first language, I’m not sure if I missed or misunderstood something in the plugin documentation. I apologize for bothering you.

So the "Transfer Player Float" command only accepts number values and not code, I can make it work that way in the future.

The Disable Rounding, is on the DEFAULT transfer commad, where you disable the rounding -> record the position x, and y to their own variables, then you perform transfer from the default command built into MV/MZ and use the appropriate variables for x and y. ^^ If this still does not work let me know, and i can debug this , but it worked the last i tested, however a lot has changed since then.. so it may have broke somewhere down the line ^^; apologies.


As for the character not moving accordingly on looping maps, this is... somewhat of a known issue, I fixed this partially, for the simple "setDestination"( this applies to basic move commands in move route ), but I have not yet adressed this for path finding, which is what I assume you are using?

Also your english is good enough for me to understand, so no worries at all! and this is no bother! I am here to help :)

So the "Transfer Player Float" command only accepts number values and not code, I can make it work that way in the future.

The Disable Rounding, is on the DEFAULT transfer commad, where you disable the rounding -> record the position x, and y to their own variables, then you perform transfer from the default command built into MV/MZ and use the appropriate variables for x and y. ^^ If this still does not work let me know, and i can debug this , but it worked the last i tested, however a lot has changed since then.. so it may have broke somewhere down the line ^^; apologies.

As for the character not moving accordingly on looping maps, this is... somewhat of a known issue, I fixed this partially, for the simple "setDestination"( this applies to basic move commands in move route ), but I have not yet adressed this for path finding, which is what I assume you are using?

Also your english is good enough for me to understand, so no worries at all! and this is no bother! I am here to help :)