Triggering Say Dialogue at Waypoint

Forums 💬 FlowCanvas ⚙️ Support Triggering Say Dialogue at Waypoint

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #22710
    anonymous
    Participant

      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.

      #22714
      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:
        [attachment file=”CheckTriggerCondition.png”]

        #22713
        anonymous
        Participant

          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.

          #22712
          Gavalakis
          Keymaster

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

            #22711
            anonymous
            Participant

              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.