Hello! I'm stuck. I'm trying to generate a random room, but it isn't working...
This is what I have, in a nutshell:
Global.doorVAR = 0
IF system: doorVAR = 0
{set doorVAR = random(15)
THEN: (based on that number, a certain number of doors will appear at north, south, east and west. If I edit the variable directly, this works, but it seems like no matter what I can't get the game to recognize the statement to alter the variable. I've tried EVERYTHING I can think of. I made the condition a given (IF player is visible...), I tried changing it from random to other number (set doorVAR = 4), but even that wouldn't change it.
The only way to change a variable seems to be by changing it in its declaration: (doorVAR = 13) as opposed to a condition that should do the same thing.
I've come so far but this is just not working... What am I doing wrong?