jayje
Mar 3 2010, 05:12 AM
i'm trying to change a map's tiles for a game event through the call script command. I'm thinking of using '$game_map[index].tilesets = n' would that work?
Night_Runner
Mar 3 2010, 03:39 PM
Not really.... $game_map only has loaded the current map, you can't treat it like an array to look at the map of your choice...
Were you hoping to permanently change the tileset for a particular map? or just until you leave the map? And I'm assuming you want to replace the autotiles as well?
jayje
Mar 4 2010, 01:25 AM
QUOTE (Night_Runner @ Mar 3 2010, 06:39 PM)

Not really.... $game_map only has loaded the current map, you can't treat it like an array to look at the map of your choice...
Were you hoping to permanently change the tileset for a particular map? or just until you leave the map? And I'm assuming you want to replace the autotiles as well?
yeah say from a snowy forest to a sunny forest with an event
Unka Josh
Mar 4 2010, 08:16 AM
You're probably better off making two maps and doing a Transfer between them.
Also, you might be surprised at all the weird things that happen if you just swap tilesets. Try it. It's not pretty, is it?
jayje
Mar 4 2010, 01:39 PM
QUOTE (Unka Josh @ Mar 4 2010, 11:16 AM)

You're probably better off making two maps and doing a Transfer between them.
Also, you might be surprised at all the weird things that happen if you just swap tilesets. Try it. It's not pretty, is it?
i already took that into consideration. that wouldn't be a problem i'm just looking to switch tilesets
Knot
Mar 4 2010, 01:57 PM
If you just want to switch tilesets you can "copy and paste" the map you want to double and then just switch tilesets. Not exactly what your looking for but it's easy enough.
Unka Josh
Mar 4 2010, 09:55 PM
Yeah, that's what I was suggesting. You'd want to change other things (like Battlebacks, if you use them) anyway, so why not?
Darkreaper
Mar 5 2010, 06:42 PM
well not exactly ideal, cause then all the events would reset
But what if you just wanted to change a specific autotile to a dif autotile?
Unka Josh
Mar 6 2010, 02:48 AM
Less likely to cause serious issues, but you'd probably need a fairly complex script.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.