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!
[Solved] Swap between barks and normal dialogues.
[Solved] Swap between barks and normal dialogues.
Last edited by Japtor on Wed Oct 31, 2018 11:42 am, edited 1 time in total.
Re: Swap between barks and normal dialogues.
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.
- 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.
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!
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!