Playmaker Forum
PlayMaker Updates & Downloads => Share New Actions => Topic started by: Andy22 on January 16, 2014, 09:02:59 AM
-
Hi,
not a action, but a proxy component that let Unity Animation events directly communicate/Set FsmVariables, supported are FsmInt, FsmBool, FsmFloat, FsmObject, FsmGameObject.
Just add this component and set a AnimationEvent in the track editor and pick the SetFsmXY() calls.
bye Andy
-
Hi,
Where did you find documentation on this? I am curious cause I can't find anything on this.
How can "SetFsmInt" be called and what is calling it?
bye,
Jean
-
Those are just routed animation events nothing special. http://docs.unity3d.com/Documentation/Components/animeditor-AnimationEvents.html (http://docs.unity3d.com/Documentation/Components/animeditor-AnimationEvents.html)
I just found it more usefully to directly modify the fsm variables, in cases where i already have 95% of all logic/code inside playmaker. So creating a proxy component just to hold a single bool/int seemed overkill. This way u can keep all variables inside playmaker and directly modify them.
bye Andy
-
Hi,
Very good. Thanks for this.
bye,
Jean