Corgi Engine Sequencer Commands

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
BWLGeorge
Posts: 41
Joined: Sun Jun 19, 2022 10:10 pm

Corgi Engine Sequencer Commands

Post by BWLGeorge »

Afternoon, wondering if I could get a little help with an issue I'm having.

So I'm running Dialogue System alongside Corgi Engine, and everything is working really excellently so far, but a recent issue I'm running into is in trying to use Sequencer Commands to interface with characters. Trying to use the Face command pulls up the error "Can't find subject or Character on subject" error no matter the character I'm trying to affect. I tried slotting in every object I have with a Character component on it and even a few I created just to make sure it wasn't working. Any ideas on what might be the root cause of this issue?
User avatar
Tony Li
Posts: 21975
Joined: Thu Jul 18, 2013 1:27 pm

Re: Corgi Engine Sequencer Commands

Post by Tony Li »

Hi,

What's the Face() command you're using?

Tip: If you want the speaker and listener to both face each other, omit all parameters. For example:

Code: Select all

{{default}}; Face()
The {{default}} keyword tells the dialogue entry to also play the Dialogue Manager's Default Sequence.

Here are the rules for which GameObjects get used as the speaker and listener: Character GameObject Assignments
BWLGeorge
Posts: 41
Joined: Sun Jun 19, 2022 10:10 pm

Re: Corgi Engine Sequencer Commands

Post by BWLGeorge »

I was using Face(firstcharacterobject,secondcharacterobject); like the example on the Corgi Integration documentation page. Now using the {{default}} command I get the error "Can't find target target"
User avatar
Tony Li
Posts: 21975
Joined: Thu Jul 18, 2013 1:27 pm

Re: Corgi Engine Sequencer Commands

Post by Tony Li »

Hi,

What is the exact Sequence you're using? Are you actually specifying GameObjects named "firstcharacterobject" and "secondcharacterobject" in your command?

Do those GameObjects have Character components?
BWLGeorge
Posts: 41
Joined: Sun Jun 19, 2022 10:10 pm

Re: Corgi Engine Sequencer Commands

Post by BWLGeorge »

So there's the player gameobject in the scene called "Eoin" that has a Character component and then there is an NPC gameobject called "CrimsonsoldierNPC" that has a Character component. When using the sequence Face(Eoin, CrimsonsoldierNPC); or its inverse (I've tried both at the same time in the sequence and then both of them individually to see if that changed anything), Face(CrimsonsoldierNPC, Eoin); I get the error message "Can't find subject or Character on subject."
User avatar
Tony Li
Posts: 21975
Joined: Thu Jul 18, 2013 1:27 pm

Re: Corgi Engine Sequencer Commands

Post by Tony Li »

I'm so sorry! There was a bug in Face(). This should fix it:

DS_CorgiSupport_2022-07-29.unitypackage
BWLGeorge
Posts: 41
Joined: Sun Jun 19, 2022 10:10 pm

Re: Corgi Engine Sequencer Commands

Post by BWLGeorge »

Thank you so much, worked like a charm!
User avatar
Tony Li
Posts: 21975
Joined: Thu Jul 18, 2013 1:27 pm

Re: Corgi Engine Sequencer Commands

Post by Tony Li »

Glad to help!
Post Reply