Reply To: how to get a node event about sub nodes switching running? ?

NodeCanvas Forums General Discussion how to get a node event about sub nodes switching running? ? Reply To: how to get a node event about sub nodes switching running? ?

#12957
hydra
Participant

hi, thanks for the reply.
ok, if change my question as a game example, an NPC has 3 action nodes: stand, walk, run when the NPC starts to run, there is some effect or animation coming out. I wish NodeCanvas has a system to notify me which node is running now and when it starts/ends, then I can connect this event to my code {some events manager }to trigger something as a generic way, rather than I write many different events in each action like running/walking …

if don’t have too many classes to subscribe it, then it shouldn’t have the performance issue. rather than checking the node status in update function running per frame.