Shortcuts Bug?

Announcements, support questions, and discussion for the Dialogue System.
Saper
Posts: 52
Joined: Tue Jan 12, 2021 11:25 am

Shortcuts Bug?

Post by Saper »

Hi

Tony right now when i try to use one of my shortcuts in sequencer i something like this:
Policeman/Portrait/EX1
And it don't work, for it to work I need to add "{{" in front and in back of text
{{Policeman/Portrait/EX1}}

is it a bug or there is new workflow with creating shortcuts?
User avatar
Tony Li
Posts: 22093
Joined: Thu Jul 18, 2013 1:27 pm

Re: Shortcuts Bug?

Post by Tony Li »

Hi,

{{...}} is correct. Example here.
Saper
Posts: 52
Joined: Tue Jan 12, 2021 11:25 am

Re: Shortcuts Bug?

Post by Saper »

Hi Tony

I misspelled word i choose my shortcut from context menu and in sequencer it is generated without "{{" every time after using context menu I need to fill the missing brackets
User avatar
Tony Li
Posts: 22093
Joined: Thu Jul 18, 2013 1:27 pm

Re: Shortcuts Bug?

Post by Tony Li »

Hi,

Is this what you mean?

I defined a shortcut using a Sequencer Shortcuts component on the Dialogue Manager:

shortcuts1.png
shortcuts1.png (36.55 KiB) Viewed 459 times

From the Sequence field's "+" dropdown, I selected the shortcut:

shortcuts2.png
shortcuts2.png (27.02 KiB) Viewed 459 times

It added it to the Sequence field with {{ and }}:

shortcuts3.png
shortcuts3.png (2.8 KiB) Viewed 459 times
Saper
Posts: 52
Joined: Tue Jan 12, 2021 11:25 am

Re: Shortcuts Bug?

Post by Saper »

Yes this what i mean

those were our shortcuts before Dialogue System update

for example as in "shortcuts1.png" we have them configure:
Submenu: Blank
Shortcut: Policeman/Portrait/EX1
Value: AnimatorPlay(Police_EX1)

as in "shortcuts2.png" when i click "+" i see:

Shortcuts -> General -> Policeman -> Portrait -> EX1

as in "shortcuts3.png" when sequnece is generated it looks like:

Policeman/Portrait/EX1

Without "{{" on front nad without on back "}}"
User avatar
Tony Li
Posts: 22093
Joined: Thu Jul 18, 2013 1:27 pm

Re: Shortcuts Bug?

Post by Tony Li »

What Dialogue System version are you using? Can you back up your project and update to version 2.2.46.1? There are no known issues with shortcuts in any recent Dialogue System versions, but maybe someone customized some code in your copy or something.
Saper
Posts: 52
Joined: Tue Jan 12, 2021 11:25 am

Re: Shortcuts Bug?

Post by Saper »

Hi Tony

We have ver. 2.2.46.1

also i tested:
When submenu is blank then shortcuts don't have "{{ }}" if i input something in the submenu field it will generate sequence with "{{ }}""
User avatar
Tony Li
Posts: 22093
Joined: Thu Jul 18, 2013 1:27 pm

Re: Shortcuts Bug?

Post by Tony Li »

Saper
Posts: 52
Joined: Tue Jan 12, 2021 11:25 am

Re: Shortcuts Bug?

Post by Saper »

Hi Tony

After patch:
- problem with "{{}}" still exists
- shortcuts stoped being grouped
before patch it was: + -> Shortcuts -> General -> Policeman -> Portrait -> EX1
after patch: + -> Shortcuts -> General -> Policeman/Portrait/EX1
User avatar
Tony Li
Posts: 22093
Joined: Thu Jul 18, 2013 1:27 pm

Re: Shortcuts Bug?

Post by Tony Li »

Hi,

The way grouping is handled is intentional because the shortcut name is "{{Policeman/Portrait/EX1}}". You could group this into a submenu Policeman/Portrait by setting the Submenu field to "Policeman/Portrait".

I don't know why it's not adding the {{ and }}. Here's how I tested it with DS 2.2.46.1 and the patch above:

Added the shortcut:

shortcut1.png
shortcut1.png (61.04 KiB) Viewed 417 times

Selected it from the menu:

shortcut2.png
shortcut2.png (42.45 KiB) Viewed 417 times

And this is how it looks in the Sequence field:

shortcut3.png
shortcut3.png (25.57 KiB) Viewed 417 times

Can you send a reproduction project to tony (at) pixelcrushers.com?
Post Reply