Page 1 of 1

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

Posted: Thu Nov 19, 2020 1:03 pm
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!

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

Posted: Thu Nov 19, 2020 1:37 pm
by Tony Li
Hi!

Try disabling and re-enabling the SequencerShortcuts component. The component registers (caches) the shortcuts when it's enabled.

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

Posted: Thu Nov 19, 2020 7:53 pm
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!

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

Posted: Thu Nov 19, 2020 9:00 pm
by Tony Li
Glad to help!