"Tile Swap" Issues

● ARCHIVED · READ-ONLY
Started by Masochistic-Bipper 11 posts View original ↗
  1. Basically, whenever I put in the script call for either the complete tileswap and the region tileswap, nothing happens.

    I'm not sure if I'm counting wrong or doing something wrong... but let me copy off what I have in my event page:

    I have some show text here...

    More here...

    Even more...

    A Flash Screen Event

    A Show animation Event

    And the Script:

    region_swap(1, A98, 0, 002)

    I am using another script so it could be an incompatibility error.

    I am using YanFly's Event Box and Mordern Algebra's Message Options [VXA]

    I'd love for some support.  :thumbsup-left:   :wub:   :thumbsup-right:  
  2. Provide links to the scripts, please. Neither of the scripts you mention have anything to do with swapping tiles, so it would also help if you state what script you're using for that (and a link to it as well).


    I suspect A98 should be "A98" since it's a string, and 002 MAYBE should be 2.
  3. If you are using Tsukihime's script, Shaz is right. It's those 2 elements of the script call that are wrong.

    EDIT

    It has just occurred to me that you will have problems with that script call anyway, as you are trying to swap in a tile from the A tab.  That won't work, as the tiles on the A tab are formatted differently.  What you will have to do is this:

    Use the tile you want to make a small area (don't have Ace on this computer, so can't check what A98 is.  Ground?)  Take a screen shot and paste it into an image program e.g. GIMP, Photoshop, paint.NET, whatever.  Select copy and paste one square from it that looks like the effect yout want.  Paste it anywhere on a B-E tile sheet.  Use your script call to call up that tile.
  4. Thanks guys, I'll try it later.
  5. You sure about that ksjp17? I had a feeling Hime's script catered for the A tiles.
  6. I am using Tsukihime's script.  I did everything you asked and got this...

    region_swap:(001, "A18", 1, 0)

    Even still it didn't work. I'm really not sure what I'm doing wrong.
     
  7. Xexkra said:
    region_swap:(001, "A18", 1, 0)


    Even still it didn't work. I'm really not sure what I'm doing wrong.
    Where did you get the 0 at the end from?
    According to Tsukihime's description, the last number in any of the tileswap functions is the map ID - which is never zero, because there is no map 0. It looks like it can be omitted for the current map, but it can never be 0.


    Follow her tutorial to make correct commands for that script:


    http://www.himeworks.com/2013/02/17/tutorial-easy-tile-swapping/
  8. Whoops, typed it wrong... I meant

    region_swap:(1, "A18", 0, 001)
  9. don't put 001, just put 1.
  10. it was a script compatibility error. it was algebra's that threw it off

    you can close this now.
  11. Before this gets closed - are you sure it was a script incompatibility?

    The reason I'm asking is that your script call is wrong - and it's not just the leading zeros..  You have 

    region_swap:(1, "A18", 0, 001)

    That colon should not be there.   It should read

    region_swap(1, "A18", 0, 1)