Easy tile swapping

I don't know what the problem would be without any details about how your map is set up. Might be a script compatibility issue, or even a bug.


You'll have to post your position swap call.
The map set up is your ordinary, no messing-about standard map, with less than 20 events, including this one.  The script call is written like this:

pos_swap(17, 2, "D243", 2)

When written like that I have the same problem as with region sway, i.e. nothing at all happens when I click on it.  I've double- and triple-checked that the event is set to "same as characters" and "action button", but here is a screen shot of the event in case I've missed something.

">http://

I would prefer to do this with a region swap, as I have several that I want to change at the same time.
It works for me.


Do you have tile page D?


Are you sure 243 is the correct ID? Does it work when you try D1 or D18?
Hmm, it works for D1.  The tile I want is on line 31, the third tile in.  I got to D243 by doing (30*8)+3 = 243.  That calculation is correct?

EDIT

I am cringing with embarrassment.  I've just seen my error.  In the ultimate airhead moment, I put in the tile ID of the original tile, not the one I want to swap it with, so of course it seemed as if nothing was happening.  I think I shall have to crawl away into a corner and shoot myself.

I'm really sorry to have wasted your time.  Thank you for your help.
Wonderful script.  Thank you for creating it.  It has limitless potential.
Edit:

Never mind, found another workaround that works for me.
Error 🙁

tile_swap ("A17", "A25",1)

[IMG]http://rodrigocordula.com.br/whiteList/steamgifts/titleset1.jpg[/IMG]
tile_swap ("A17", "A25",1)
Take off that space after tile_swap
[IMG]http://rodrigocordula.com.br/whiteList/steamgifts/titleset2.png[/IMG]

[IMG]http://rodrigocordula.com.br/whiteList/steamgifts/titleset3.png[/IMG]
Do you have the Tile Swap script?
I posted the image above coordinate that desire change.
Yes, but have you inserted the script into your project first?
yep
Sorry why i cant walk on region_swap ? =/
hey tsukihime,


does your script work in RM MV?


Thanks M4DM4N
@M4DM4N: Scripts for ACE don't work in MV, as they use different languages for coding. You'll have to see if they made a version for MV.
Hi Tsukihime, what to do about swapping A1 tiles and encountering this issue?
index.php

index.php

Original thread: https://forums.rpgmakerweb.com/threads/easy-tile-swapping.9396/