Has entered trigger task

I'm wondering why Has Entered trigger task is not working. I made a simple Playmaker FSM with Trigger event action to check if there's something wrong with my game object setup but Playmaker FSM is detecting the trigger correctly but behavior tree is not. I suspect there's something wrong with my behavior tree setup?

Has entered trigger is showing the ring around the "X" mark so it should be re-evaluating the task, right?


1570974855955.png
 
Okay, I got it working. But I don't understand why I need to put the Wait task and selector task here to make it work?

Why the above behavior tree with just the Repeater task is not working?


1570989866957.png
 

Justin

Administrator
Staff member
Your behavior tree was likely restarting which prevented the trigger from being caught. Adding the wait task ensures the tree stays active. In this case I'd use idle instead of wait.
 
Top