PlayMaker Help & Tips > PlayMaker Help

Cannot add "SendEvent" within an Animation [WORKAROUND]

(1/1)

Jbro:

* I created a new empty GameObject, attached my Animator component (with 1 animation), and added a new playmaker FSM to the gameobject.
* I look inside the Animation tab and find SendEvent listed in the dropdown list of available. Everything is good.
* I then add another FSM to the gameobject and add a new event, but I don't see any functions in the dropdown list. The list is totally empty.
How can I add events, specifically SendEvent, within an animation with multiple FSM?

Lane:
An Animator Event or an FSM transition event?

You can check them as global in the Event tab of the FSM, that lets it be used in any FSM in the scene.

Alex Chouls:
I think this is a Unity limitation discussed here:
http://hutonggames.com/playmakerforum/index.php?topic=6256.msg30584#msg30584

Jbro:
I see.

Ok, well I guess I just need to work around it and forward all the events to their proper FSM using a dedicated animation event forwarding game object.

edit: It seems that this is not such an easy thing to do. Having trouble figuring out how to forward these events to individual objects in the scene. I'll wait for your update!!

Navigation

[0] Message Index

Go to full version