Page 1 of 1

Modify a map tile via script

Posted: Thu Nov 06, 2014 2:38 pm
by jxjxjf
Hey, I'm so sorry if this is actually explained in the scripting reference, but I didn't see anything that seemed to answer my question. I'd wait for more updates, but I'm hoping for a quicker answer so I can scrap the idea if it's impossible.

So, is there any way to modify either the individual tiles in a map or the map itself via script? The Map object didn't seem to have any functions allowing this the last time I looked, but it seems like something that could be possible.

I'm hoping to do something with changing water levels, so something as simple as setting underwater to false would work for me, but changing the tiles to something different entirely would also work. I don't need any kind of animation, as it happens "off screen", but it does need to happen live.

So, did I miss something simple or is this not possible?

Thanks! :D

Re: Modify a map tile via script

Posted: Thu Nov 06, 2014 2:47 pm
by MrChoke
This was a huge limit to the ideas on had on custom dungeons. You cannot change the actual square definition in game. Once you define it as a wall in the editor, its a wall. You can strip all of the textures off of it if you want and its still a wall. Same goes for elevation.