ironmonk88 / monks-active-tiles

GNU General Public License v3.0
50 stars 31 forks source link

[BUG] Teleporting within a scene doesn't work when GM is on another scene #652

Closed Gurrgel closed 11 months ago

Gurrgel commented 12 months ago

I'm having multiple issues when a token uses the Teleport Action to teleport a token within the same scene and the GM is on another scene. If the teleport tile is set up to teleport to a coordinate on the same scene, the token is sent to those coordinates on the GM's scene. If the teleportation tile is set to teleport the token to another tile on the same scene. The token ends up off target if the GM is on a scene with a Grid Size different than the scene the player is teleporting on.

To Reproduce Steps to reproduce the behavior:

  1. Create a tile, which teleports a token to either a coordinate on the current scene, or to a tile that is one grid square large, still on the same scene.
  2. Move to another scene as the GM, while the player is still on the initial scene where the teleportation is set up.
  3. If teleporting to a coordinate within the same scene, the player will end up on the GM's scene. A coordinate on another scene seems to work, even if the GM is not on it.
  4. If teleporting to a tile, the token will end up on the same tile, but they'll miss the target if the GM is on a scene with a different grid size.

Expected behavior When teleporting to coordinates, I would expect the token to end up on the scene I was on when I set the coordinates. When teleporting to a tile, I would expect them to land in the grid square of the tile, especially when both the target tile and the token being teleported are the size of one grid square.

Screenshots Setup for the tile teleportation is as follows, although I've had similar results with other triggers as well: image The image below shows the scene in question, which has a grid size of 150. The red square is the tile detailed above, which should send the token to the green square. The different numbers listed in a NW / SE direction indicates where a token entering the red tile ends up if the GM is on a scene with that particular Grid Size. image

Please complete as much of the following information as possible:

Additional context The teleport issue when teleporting to a tile sounds related to the issue that was fixed for the Move Token Action in version 11.14?

ironmonk88 commented 11 months ago

Fixed in the latest release