How do I check if a Flowchart node is the last node?

0 favourites
  • 3 posts
From the Asset Store
Node Downloader 2
$9.60 USD
40% off
Node Downloader is a plugin for download file for Construct 3 and construct 2 game engine
  • Heya, first time game dev here and this forum has been super helpful so far thank you. This might be a very basic question but I couldn't find clear info on it.

    I was trying to make a dialogue system with Flowcharts. I want to use 2 functions. The first function sets typewriter text to the first Flowchart node. It waits two seconds and calls the second function, which just goes to the next output 0. Works great, but what I can't seem to do is stop that loop from happening, the last node keeps showing again and again.

    The most sensible logic to me was to use the Flowchart condition "Has Output". From my understanding this should check if the current node's output 0 is connected to anything else, if yes then go. But this doesn't seem to work, I haven't really figured it out, any help would be appreciated!

    The next question is if I wanted to make it such that tapping on the text box went to the next node instead of waiting, how would I do that?

    Attaching test project for anyone to see my silly problem:

    drive.google.com/file/d/1TAVidSybVDJcbaEPBGTz8xvzDmDMukc0/view

    Thanks so much!

  • About the tapping part of the question, I should clarify: I still want the waiting feature to trigger after a few seconds, but if someone taps it before that, it should just override and go to the next node.

    Thanks!

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • UPDATE (because I can't edit posts yet): For now I've found a workaround that involves putting some tag in the final node of a chain, and using that as a condition for not calling any more dialogue. Also got the tap to go to next functionality working. This might be the most basic nonsense but somehow it feels like a big win when you're just starting out hahaha.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)