New to Playmaker, had a little play with it but not sure how I can get the flow control I'm looking for (and if it's possible).
I have an AI with idle and path-following states among others. I want a global transition to defensive state when threats are near, stay in that state for a min time then pop back to whatever state we were in previously if no threats are near any more.
I see there are Wait and GotoPrevState actions, but can't see how to use them for my needs above. It's like I want some sort of flow control to GotoPrevState on an event rather than an action..?
Is this possible? I know can write custom actions that do the control but I was hoping to accomplish it on the high-level visual PlayMaker level so our non-coders can tweak it more easily.