#How should I go about pausing an Action during another action's occurrence?

5 messages · Page 1 of 1 (latest)

waxen vine
#

I'm doing a state system, but I really don't know how to stop a current active action, I don't really understand the concept of it.

full orchid
#

coroutines, or add a true/false value and make the active action check if the value is true in a loop

#

if its false then break the function using return or break

waxen vine
#

sadly, a lot of these aren't like loops

sacred estuary
#

couroutines and the task.wait stuff will help i think