"Tile Swap" Issues

Masochistic-Bipper

Wheat Dreams are made of these...
Member
Joined
May 18, 2014
Messages
26
Reaction score
2
First Language
English
Primarily Uses
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:  
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
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.
 
Last edited by a moderator:

Kes

Veteran
Veteran
Joined
Aug 3, 2012
Messages
22,299
Reaction score
11,712
First Language
English
Primarily Uses
RMVXA
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.
 
Last edited by a moderator:

Masochistic-Bipper

Wheat Dreams are made of these...
Member
Joined
May 18, 2014
Messages
26
Reaction score
2
First Language
English
Primarily Uses
Thanks guys, I'll try it later.
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
You sure about that ksjp17? I had a feeling Hime's script catered for the A tiles.
 

Masochistic-Bipper

Wheat Dreams are made of these...
Member
Joined
May 18, 2014
Messages
26
Reaction score
2
First Language
English
Primarily Uses
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.
 
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,355
Reaction score
7,668
First Language
German
Primarily Uses
RMMV
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/
 

Masochistic-Bipper

Wheat Dreams are made of these...
Member
Joined
May 18, 2014
Messages
26
Reaction score
2
First Language
English
Primarily Uses
Whoops, typed it wrong... I meant

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

Masochistic-Bipper

Wheat Dreams are made of these...
Member
Joined
May 18, 2014
Messages
26
Reaction score
2
First Language
English
Primarily Uses
it was a script compatibility error. it was algebra's that threw it off

you can close this now.
 

Kes

Veteran
Veteran
Joined
Aug 3, 2012
Messages
22,299
Reaction score
11,712
First Language
English
Primarily Uses
RMVXA
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)
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

How many parameters is 'too many'??
Yay, now back in action Happy Christmas time, coming back!






Back in action to develop the indie game that has been long overdue... Final Fallacy. A game that keeps on giving! The development never ends as the developer thinks to be the smart cookie by coming back and beginning by saying... "Oh bother, this indie game has been long overdue..." How could one resist such? No-one c
So I was playing with filters and this looked interesting...

Versus the normal look...

Kind of gives a very different feel. :LZSexcite:
To whom ever person or persons who re-did the DS/DS+ asset packs for MV (as in, they are all 48x48, and not just x2 the pixel scale) .... THANK-YOU!!!!!!!!! XwwwwX

Forum statistics

Threads
105,849
Messages
1,016,977
Members
137,563
Latest member
cexojow
Top