Modify a map tile via script
Posted: Thu Nov 06, 2014 2:38 pm
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!
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!
