Playmaker Forum
Bug Reporting => PlayMaker Bug Reporting => Topic started by: jess84 on October 18, 2014, 12:40:33 PM
-
When using 'Get FSM State', if you select another object's FSM to check, the value returned is always the first FSM on the object (alphabetical) rather than the one actually specified.
See the screenshot.
Instead of returning the State name from the 'New Connection Test' FSM, it was returning the value of an empty FSM I had on the specified object. ("FSM", and "State 1").
-
I noticed you have an FSM in the Fsm Component slot. This will override the other target settings. Does it work if you make the Fsm Component "none" or drag the "New Connection Test" into Fsm Component?
-
Ah, yes, it does work correctly if I clear the FSM Component entry.
I didn't realise that was what it was for, I actually dragged the gameobject onto that window, rather than a playmaker FSM from the inspector window.
-
Yeah the tooltips could probably be clearer...