Page 1 of 1
[Solved] Swap between barks and normal dialogues.
Posted: Tue Oct 30, 2018 5:16 pm
by Japtor
Hi,
Is there a way to configure/control the moments where a NPC can only bark and other ones where he could have a normal dialogue with the player (in a same scene)?
Thanks!
Re: Swap between barks and normal dialogues.
Posted: Tue Oct 30, 2018 7:33 pm
by Tony Li
Yes. I'll present a few ideas:
- Put each on a Dialogue System Trigger. Deactivate one trigger (e.g., Bark) and activate the other (Conversation).
- Put each on a Dialogue System Trigger. Use the Condition section to specify which one can be used.
- If the NPC barks on idle, deactivate the Bark On Idle component when the NPC can't bark.
If that doesn't cover what you need, let me know what you're looking for.
Re: Swap between barks and normal dialogues.
Posted: Wed Oct 31, 2018 11:39 am
by Japtor
Hi,
The second option worked for me and I think is the best one, as I can control which type of dialogue can be used with a simple bool inside the Variables part.
Thanks!