Reply To: Firing a missile

FlowCanvas Forums Support Firing a missile Reply To: Firing a missile


Hello there and welcome 🙂

The “Start” event node you are using, is only called once when the graph is enabled (on its start). To achieve what you want, you need an event that calling its output continuously (per-frame). As such that event would be the “On Update” event node. If you replace your “Start” event with the “On Update” event, your flowscript should work as expected.

On the other hand, to achieve what you want, it might be easier to create a Custom Event instead, like so:

You can then fire that event from your code like so:

This way you avoid using variables and the flowscript custom events better represent named functions which you can fire from your code.

Please let me know if any of the above works for you 🙂

Join us on Discord:

  1. CustomNamedEvent.png