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?
Corgi Engine Sequencer Commands
Re: Corgi Engine Sequencer Commands
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
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()
Here are the rules for which GameObjects get used as the speaker and listener: Character GameObject Assignments
Re: Corgi Engine Sequencer Commands
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
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?
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
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
I'm so sorry! There was a bug in Face(). This should fix it:
DS_CorgiSupport_2022-07-29.unitypackage
DS_CorgiSupport_2022-07-29.unitypackage
Re: Corgi Engine Sequencer Commands
Thank you so much, worked like a charm!
Re: Corgi Engine Sequencer Commands
Glad to help!