Triggering Say Dialogue at Waypoint

FlowCanvas Forums Support Triggering Say Dialogue at Waypoint

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #688
    Anonymous

    I’m using Simple Waypoint System inside NodeCanvas inside FlowCanvas, and I’ve added a Box Collider to the final Waypoint to trigger a Say Dialogue, but nothing happens. In the image, the Customer object has entered the Trigger attached to Waypoint 12 (in front of the register). I’ve been working on this for most of the day and can’t figure out where I’m going wrong here.

    Attachments:
    You must be logged in to view attached files.
    #692
    Gavalakis
    Keymaster

    Hello,

    This part of the flowscript only executes on Awake since that is the only event here. The Check Trigger condition even if it becomes true, it does not matter since the Switch Condition and in consequence Say action only be called in Awake.
    So, you would want to create another Event, like for example OnTriggerEnter or Update, to handle the triggering condition and in consequence the Say action. Here is an example:
    CheckTriggerCondition

    Join us on Discord: https://discord.gg/97q2Rjh

    Attachments:
    You must be logged in to view attached files.
    #695
    Anonymous

    So, the problem was two-fold. First, I was using the wrong kind of colliders for the characters. I switched from using Mesh Colliders to using Capsule Colliders and that set off the Trigger. Secondly, as you mentioned, I was doing everything from Awake. These two issues were getting in the way of each other, so when I changed one or the other, it didn’t work.

    Thanks again for your help.

    #696
    Gavalakis
    Keymaster

    You are welcome. So the issue is solved, yes? 🙂
    Cheers!

    Join us on Discord: https://discord.gg/97q2Rjh

    #712
    Anonymous

    Apologies for the belated response. Yep, that issue that resolved.

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.