[4.5.9] Trying to make a Toggle Block

Kanbei85

Member
I wanted to try to create a puzzle element by making a kind of "monster block" that would start out invisible and then go "UP", becoming solid, if I hit a specific trigger tile, and then go back "DOWN" if I hit the same tile a second time.

I got part of the way there: I made the toggle switch tile, and that required another tile, a "variable reset" tile, because otherwise the toggle instructions loop endlessly as long as you are standing on the tile!

HOWEVER:

I am stumped at the part where I am actually trying to make the fencing tiles ("monster block") tiles go up and down. I have gotten as far as being able to make them solid or null based on the variable, but this change is not saved when I reload the screen.

And, I don't even know where to begin when it comes to changing the tiles' graphical display on the screen. I tried to just copy/paste the code from the monsterhurt_adventurebase script for toggling down the monster blocks, but it doesn't work, and Joe's comments in the code are not sufficient for me to understand what is going on.

Anybody have any ideas on how to do this? Thanks!
 
Top Bottom