Forum rules - please read before posting.

Change to random scene?

Is there a way to change to a random scene? The normal switch scene node only takes a literal number, is there any way to make it take a variable instead? That way I can generate a random integer and use that to switch scenes with. Or is there a built-in way to switch to a random scene that I've missed?

Thanks.

Comments

  • Welcome to the community, @Armz.

    You can create an integer parameter and use it to override the "scene number" field in your Scene: Switch Action.  For more on ActionList parameters, see the Manual as well as this tutorial.

    The ActionList: Set parameter Action can then be used before this Action, and made to set this integer to a random value within a given range.
  • Ah, I completely forgot about ActionList parameters. Thanks, I'll try that!
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.