Forum rules - please read before posting.

Possible to check if an actionlist has been skipped?

Hi all,

Hope you are doing well!

So for context, the key "c" is mapped to the endCutscene action. In one instance, one of my NPCs has a really long conversation with the player.

If they regularly click through the dialogue / stick to the end -- they should receive an achievement (for now, I'll just make the character say the word "ACHIEVEMENT" to indicate this.

If not (they press "c" to skip), then nothing should happen.

Any idea on how I could do this?
Thank you!

Comments

  • The ActionList: Check running Action has a Check self is skipping? option - if you place this at the end of your ActionList, you can follow it up with the "ACHIEVEMENT" speech line if the condition was met.

    More generally: the OnBeginActionList custom event has parameters for both the ActionList being run, and a flag for whether or not it was skipped.

  • Awesome, this is really helpful -- will try this out tonight -- thank you so much!

  • Sorry, that should have been: if the condition was not met.

  • Ah no worries! I figured that would be the case -- thank you so much! :)

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.