The board administrator and developer will be on vacation until the end of July. Therefore replies will be slower than usual.

Possible to Call on a Node dialog from a Location Trigger?

k3ndro
Posts: 5
Joined: Mon Jun 05, 2017 4:42 am

Possible to Call on a Node dialog from a Location Trigger?

Postby k3ndro » Mon Jun 19, 2017 3:34 am

The scenario is something like.

NPC tells you to go to the stairs.
[then you move towards the stairs]
And once you get there, and the NPC opens up a dialogue automatically (without you clicking him).
[NPC: Great! now push the button].

User avatar
jjahuijbregts
Site Admin
Posts: 2089
Joined: Wed Apr 22, 2015 7:25 pm
Contact:

Re: Possible to Call on a Node dialog from a Location Trigger?

Postby jjahuijbregts » Tue Jul 04, 2017 5:55 am

k3ndro wrote:The scenario is something like.

NPC tells you to go to the stairs.
[then you move towards the stairs]
And once you get there, and the NPC opens up a dialogue automatically (without you clicking him).
[NPC: Great! now push the button].


There's the AreaTrigger component, which allows you to trigger the dialogue owner when you enter a trigger (the stairs). In addition to the SetQuestProgressOnTrigger you can complete a task, then trigger the dialogue owner.

There isn't currently a way to initiate a dialogue that doesn't have a dialogue owner / trigger. I'll look into this for the next update :) - It might be nice for narration purposes.


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 1 guest