Page 1 of 1

Can object activate the dialogue? Not the Player

Posted: Sun Oct 08, 2017 4:06 am
by Frioniel
Hello

I'm using corgi engine with dialogue system.

and I wonder

can object activate the dialogue?? when the object is in the conversation zone? Not the player

----------------------------------------------------------------------------------------------------

What am I going to make is...

Switch? for gimmick?

push the box(object) into the conversation zone and dialogue system activates.

But when player goes into the conversation zone, dialogue system doesn't activate.


Game System Examples.

There is a locked door and only the special box can unlock the door by entering the conversation zone.

Player needs to push the special box to conversation zone to unlock the door.

When box goes into the conversation zone, door unlocks and dialogue system activates.

-Dialogue example-
Player: Yeah! I unlock the door!

After finishing dialogue.

Player can move.

Re: Can object activate the dialogue? Not the Player

Posted: Sun Oct 08, 2017 10:37 am
by Tony Li
Hi,
Frioniel wrote:can object activate the dialogue?? when the object is in the conversation zone? Not the player
Yes. Here are the steps:

1. On the NPC's Conversation Zone's collider, tick Is Trigger.

2. Set the Conversation Trigger's Trigger to OnTriggerEnter.

3. To the Conversation Trigger's Condition > Accepted GameObjects list, add your special box.

Re: Can object activate the dialogue? Not the Player

Posted: Sun Oct 08, 2017 5:50 pm
by Frioniel
Yeah! It worked!

I heartily thank you!

Re: Can object activate the dialogue? Not the Player

Posted: Sun Oct 08, 2017 8:58 pm
by Tony Li
Glad to help!