Hi,
I'm trying to follow the "Pop Up Manager" Tutorial:
http://www.youtube.com/watch?v=sFG0kpCvxJ8&list=PLC759306A1E692A10&index=10However, I can't get it to work, even though I've double checked that I've done everything right. Now I'm wondering if it's a bug, or if there's something about PlayMaker that I'm not aware off.
Basically, I have two FSM's:
- The first FSM is attached to a cube, and makes the cube pop up (jump and rotate), as soon as its global "Pop Up" event gets triggered. The cube is made into a prefab, and 9 cubes are then laid out in the scene, sitting on a plane.
-The second FSM is attached to a "PopUpManager" gameobject. It has two states:
a. "Wait" - wait between 0.3 to 2 seconds at random, and then fire the send_pop event to transition to the "Send Pop" state
b. "Send Pop" - pick a cube object from the scene at random, trigger it's global "Pop Up" event, and then trigger a FINISHED event to transition back to "Wait".
Every time the state is "Wait" it's supposed to execute all actions, transition to "Send Pop", and loop again and again, each time popping up a cube at random. However, the sequence is executed only after (at start up), and then "Wait" becomes the active state (forever), and it's actions are not executed. Nevertheless, if I alt-click on "Wait" the actions (and the sequence) get executed, and each time the sequence stops at "Wait".
Is this a bug, or what am I missing?
I attach the 2 screenshots of the 2 states of the FSM attached to PopUpManager.