Hi! I'm making an adventure game with multiple generic dialogue responses to standard interactions like trying to open a locked door or pick up an object that can't be moved. I'm using Variable - Run Sequence elsewhere (for interactions where I want the responses in a specific order), but I'd rather avoid making extra variables for the generic stuff. I would, however, like to ensure that Variable - Check Random Number not choose the same random number (and therefore the same generic response) multiple times in a row. Is there a way to accomplish this?
I'm using Adventure Creator 1.57b and Unity 2017.
Comments
Making variables for each Variable: Run sequence is necessary to ensure that the sequence order is stored in save game files.
Though it could get quite complex if you had many options, you could feasible do this by using an Integer variable to record the last-picked random number, and then check against new random numbers to see if you should re-pick another one.
However, I think having an option to not repeat the last-picked number in the Variable: Check random number Action would be a good addition to AC - and I'll see if it can be included officially.