Backtracked entry doesn't run newly introduced (in Play Mode) sequencer shortcuts

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
User avatar
Abelius
Posts: 318
Joined: Fri Jul 21, 2017 12:45 pm

Backtracked entry doesn't run newly introduced (in Play Mode) sequencer shortcuts

Post by Abelius »

Hi Tony, long time no see!

I'm back with another game and I've finally reached a stage of actually writing dialogue. Happy to be back. :mrgreen:

Here's a question. I've added the Backtracker script from the Extras into DS Controller, and I'm calling it from a button. It works as intended and I don't have any problem with that.

However, my intention implementing the button wasn't for players to use it but for my convenience. What I'm doing is to create dialogue entries offline, as normal, and then I play the scene in Play Mode.

What I wanted is to write sequencer shortcuts that call PlayMaker FSMs controlling the expression of the character, while the game is running. That way, I could test how it looks in real-time, and if I'm not satisfied, I expected to be able to change the shortcut pointing to another expression and see the change.

But it seems that shortcuts (and maybe also any sequencer command?) that wasn't there before entering Play Mode doesn't have any effect at all. It seems they're not run.

Could you confirm if this is true? In case it is, do you think something could be done for hot-added commands/shortcuts being run?

Thanks!
Unity 2019.4.9f1
Dialogue System 2.2.15
User avatar
Tony Li
Posts: 22051
Joined: Thu Jul 18, 2013 1:27 pm

Re: Backtracked entry doesn't run newly introduced (in Play Mode) sequencer shortcuts

Post by Tony Li »

Hi!

Try disabling and re-enabling the SequencerShortcuts component. The component registers (caches) the shortcuts when it's enabled.
User avatar
Abelius
Posts: 318
Joined: Fri Jul 21, 2017 12:45 pm

Re: Backtracked entry doesn't run newly introduced (in Play Mode) sequencer shortcuts

Post by Abelius »

Okay good!

It started working after a while, so I don't know if it's related to your suggestion.

In any case, thank you!
Unity 2019.4.9f1
Dialogue System 2.2.15
User avatar
Tony Li
Posts: 22051
Joined: Thu Jul 18, 2013 1:27 pm

Re: Backtracked entry doesn't run newly introduced (in Play Mode) sequencer shortcuts

Post by Tony Li »

Glad to help!
Post Reply