Forum rules - please read before posting.

[BUG] ActionList Pause

When you pause actionlist and resume all during one action then after action ends the actionlist is paused. It happens because variable pauseWhenActionFinishes in ActionList class is set to true, and when calling resume using KickStarter.actionListManager.Resume(c); it isn't set to false.

I have AC 1.53, but it isn't mentioned in changelog for AC 1.54, so I assume that it wasn't fixed.

Comments

  • Thank you for the alert, but could you rephrase your first sentence?  I'm not clear on exactly what you mean - a screenshot showing a sample ActionList that can recreate the issue would be best.
  • I mean something like this:
    image

    If pause and resume are called during the first action (0: Camera: Switch), the second action won't play. It is still paused after the first one.
  • OK, I'll look into it and will post here if I need any more info.
  • Can't recreate this.  Using those exact same Actions, I Paused the ActionList while the first was running, and then Resumed to trigger the second.  Tried with the Pause Action's Wait until finish? option both checked and unchecked.

    Are you certain the second Action is not running?  Try replacing it with an Engine: End game Action to be sure - the game will end as soon as it's triggered.

    Though you're correct v1.54 didn't have any changes made to this area, I was testing with the latest version - so try downloading the same and see if that makes a difference, in a backup project.
  • Wait until finish? must be checked. Did you resume action list during the first action (in those 10 seconds that first action is playing) or after the action finished?

    Replaced it with Engine: End game still the same. New AC version still has the same problem.

    Here is a little script that can help reproduce the error. Just attach it to game object and add action list with actions like earlier and add it to interaction field and then run game.
  • After the Action finished.  I suspect that may be the issue - since you're checking Wait until finish?, the ActionList won't actually be paused until the first Action's finished running (as the name suggests).

    Therefore, if you resume it while this is occuring, the ActionList hasn't yet been paused - and so cannot be resumed.
  • Yes that's exactly the case. But the method names and lack of some kind of callback for pause method would suggest different behaviour (Action list should ignore the pause that was called before).
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.