Tile swap, plugins or events.

Hi, my name is Dekay. My wife and I have taken up making simple games together as a hobby and I was trying to create an event that swaps two water tiles for two ground tiles when the player touches a certain event. I see a tile-swap event but it doesn't seem to include walkable ground and I have not found a way to change my options. I would also really like to figure out how to make it an animation that rises out of the water. I'm open to learning whatever I need to; I'm just looking for a bit of direction right now. 🙂 Edit - I accidently tagged this as rmmv initially, I am in rmmz.
Thank for you the plugin, it seems like exactly what I need. I am definitely confused after reading the directions but I do have it successfully installed. Just not sure how to use it.
There are two script commands: one for setting autotiles and one for normal tiles. The only confusing part is the tile_id, which he made a picture to show you which tile was what number

$gameMap.setNormalTile(x, y, z, tile_id) // Just paints given tile id
// setNormalTile gives you full control to choose ANY tile
// This function will not check any surrounding tiles!


$gameMap.setAutoTile(x, y, z, tile_idx, d4) // Checks also tiles around
// d4 (true = no diagonal check, false/omitted = normal autotiling)
// setAutoTile function is used for tileset 'A' tiles only!
Thank you, for your explanation. What is the significance of this other command checking surrounding tiles? I'm a little unclear on the use of that and whether I need it. (I see now that part of the issue is I had not read this section of the forum: https://www.rpgmakerweb.com/blog/us...ext=There are two easy ways,we're ready to go! ).
Thank you, for your explanation. What is the significance of this other command checking surrounding tiles? I'm a little unclear on the use of that and whether I need it.
It's for placing autotiles. You know how when you place water or road tiles in the map editor for example, they change to match the surrounding tiles?
Thank you, you'll have to forgive me, I am new to all of this. I am still unclear on how to use the plugin inside of rmmv what I have been attempting is to run a script event. Using the commands you provided with my tile positions. My first inclination was to use the plugin command but it comes up as having no plugins.

1710619692980.png


"$gameMap.setAutoTile(3, 16, 25, 28, d4)"

This is my current script.
1710619319034.png


This is the error I get when I attempt to activate the event in-game. When I simply remove 'd4' Nothing happens.

I cann see the plugin in my manager and it is active.

1710619621107.png
There is no plugin command. Those are script calls and you're supposed to change d4 to true or false, or just omit it.

Original thread: https://forums.rpgmakerweb.com/threads/tile-swap-plugins-or-events.166874/