Page 1 of 1
Corgi Engine Sequencer Commands
Posted: Fri Jul 29, 2022 2:46 pm
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?
Re: Corgi Engine Sequencer Commands
Posted: Fri Jul 29, 2022 3:18 pm
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:
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
Re: Corgi Engine Sequencer Commands
Posted: Fri Jul 29, 2022 3:58 pm
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"
Re: Corgi Engine Sequencer Commands
Posted: Fri Jul 29, 2022 4:21 pm
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?
Re: Corgi Engine Sequencer Commands
Posted: Fri Jul 29, 2022 4:54 pm
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."
Re: Corgi Engine Sequencer Commands
Posted: Fri Jul 29, 2022 7:10 pm
by Tony Li
I'm so sorry! There was a bug in Face(). This should fix it:
DS_CorgiSupport_2022-07-29.unitypackage
Re: Corgi Engine Sequencer Commands
Posted: Mon Aug 01, 2022 1:21 am
by BWLGeorge
Thank you so much, worked like a charm!
Re: Corgi Engine Sequencer Commands
Posted: Mon Aug 01, 2022 8:30 am
by Tony Li
Glad to help!