Hello
I just got Playmaker recently and I'm trying to integrate it into my project with some enemies I've already written scripts for. With this particular enemy, I have a Bezier Spline script that I want to use Playmaker to change the Bezier Spline once one spline is done. I have a function that accomplishes this, but all I want Playmaker to do is call the function with CallMethod.
So far, in my FSM attached to the object ("Nautilus"), I have two states, Check Duration (the start), and Change Spline.
Check Duration has the action Bool Any True, and only checks to see if splineComplete is true. If it is true, it should fire off the splineDone event.
The splineDone even should transition from Check Duration to Change Spline but it never happens. In my script, I have an if block that checks the spline progress, and if it is equal to 1 then it sends splineComplete = true if not it is false.
Not sure why this isn't working. I hope I explained this properly, please help me out! I've watched a few tutorials for events and it appears that I'm setting this up right. In the inspector, the bool value even changes like it should, but the splineDone event NEVER fires. What gives?