Page 1 of 1

Location check condition for Different Conversation

Posted: Sun May 25, 2025 8:31 pm
by Mchaint
Hi Tony,

I wanted to trigger different conversations for different locations, for example same NPC will start different conversation based on Player's location, I tried to use condition check with Location 1, Location 2, Location 3 , True, but it doesn't fire as intended, always starts location 1 (first conversation), I made trigger collider box set as Is Trigger named as Location 1,2,3.

May I know what is the correct way to Trigger different conversations with Location check condition?
(I managed to successfully trigger it with Quest Active/Complete check according to your Tutorial.)

Thanks.

Re: Location check condition for Different Conversation

Posted: Sun May 25, 2025 8:44 pm
by Tony Li
Your approach sounds good. I recommend setting a Dialogue System variable when the player enters a location. For example, use a Dialogue System Trigger set to OnTriggerEnter:

location1Trigger.png
location1Trigger.png (54.32 KiB) Viewed 2598 times

And check the value of this variable in your conversation:

locationCheck.png
locationCheck.png (25.54 KiB) Viewed 2598 times

Re: Location check condition for Different Conversation

Posted: Sun May 25, 2025 9:24 pm
by Mchaint
Thank you so much Tony, always love using all of your assets :)

Re: Location check condition for Different Conversation

Posted: Sun May 25, 2025 9:42 pm
by Tony Li
Glad to help!