- Joined
- Apr 27, 2020
- Messages
- 2
- Reaction score
- 0
- First Language
- english
- Primarily Uses
- RMMV
Alright, so, I'm probably doing something fundamentally wrong (probably several things), but I'm having an issue where transfer player is sending the player to a room that I hadn't made which has all of the ships, airships, and whatnot in it. I dunno if it's something conflicting with plugins, if it's just me performing amazing feats of ID:10T errors, or if it's something else entirely.
-The Common Event that transfers the player is called by a skill the player can obtain
-On call, checks the Map ID, Player X, Player Y, and Player Direction, and saves them into variables
-Goes through an if-else chain to check what direction the player is facing
-Adds/Subtracts to the Player X/Y variables by 3
-Checks if the location it will transfer to is invalid by saving the terrain tag as a variable, then checking it, as well as seeing if the changed variable is greater than or equal to a value set by an event on the map to determine the map's boundaries (Bad, I realize, if there's some other way to check these values, please let me know :I ) or less than 0, and doesn't transfer if so
-Transfers the player to MapID,PlayerX,PlayerY,
After a couple attempts at debugging with no real success, I added a transfer player that sends the player to the variables before they are modified (which works perfectly fine, so I suspect it is the addition/subtraction, although I can't for the life of me figure out why) and text boxes which display the values of the variables after each transfer.
I can send screenshots if needed.
Oh, and sorry for posting this here if that's not where stuff like this goes, I couldn't quite see anywhere more appropriate.
-The Common Event that transfers the player is called by a skill the player can obtain
-On call, checks the Map ID, Player X, Player Y, and Player Direction, and saves them into variables
-Goes through an if-else chain to check what direction the player is facing
-Adds/Subtracts to the Player X/Y variables by 3
-Checks if the location it will transfer to is invalid by saving the terrain tag as a variable, then checking it, as well as seeing if the changed variable is greater than or equal to a value set by an event on the map to determine the map's boundaries (Bad, I realize, if there's some other way to check these values, please let me know :I ) or less than 0, and doesn't transfer if so
-Transfers the player to MapID,PlayerX,PlayerY,
After a couple attempts at debugging with no real success, I added a transfer player that sends the player to the variables before they are modified (which works perfectly fine, so I suspect it is the addition/subtraction, although I can't for the life of me figure out why) and text boxes which display the values of the variables after each transfer.
I can send screenshots if needed.
Oh, and sorry for posting this here if that's not where stuff like this goes, I couldn't quite see anywhere more appropriate.









