Forum rules - please read before posting.

BUG: Run Sequence continues after loading game

Unity 2018.3.6f1 Personal
AC v1.66.7

I have a part in my game where an Autosave is created. After this point a clicking hotspot triggers a sequence. First click triggers an animation, next click triggers only a sfx. This works. However, if the player clicks once, waits for the animation the finish, then loads that Autosave, then clicks on the hotspot again, the 2nd in the sequence (sfx) is getting played instead of the 1st again.

Does this mean that Sequences do not reset onLoad?

Comments

  • edited September 2019

    Ok, because of this I'm now finding more bugs in my game. How can I search all my ActionLists to find anywhere I have used a sequence and how can I correct this issue?

  • To save the "state" of a sequence, it needs to be mapped to a variable.

    In the Variable: Run sequence Action, check Save sequence value? and assign a variable. Clicking the cog icon in the Action's UI will allow you to auto-create a variable directly from the Action.

  • Can I search for Sequences to find them all?

  • Yes - use the Actions Manager to select the Action type, then choose Search all instances from the cog icon beside it.

  • Thanks, very useful.

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.