Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: valyard on November 18, 2013, 07:37:10 AM
-
Hi.
Is there an event (in c# terms) which is dispatched when state changes?
Or some other way to find out if state changed?
Other than checking current state manually every frame. Which may not detect instant state transitions.
-
Hi,
I am not aware of any such callbacks.
Bye,
Jean
-
Weird. This is like the first feature most of programmers would want.
-
if you want to check a specific state maybe you can have it send a message or call a method etc.....
https://hutonggames.fogbugz.com/default.asp?W44
-
if you want to check a specific state maybe you can have it send a message or call a method etc.....
https://hutonggames.fogbugz.com/default.asp?W44
That's what I'm doing at the moment.
But in this case EVERY state has to have this method call action.
Which is excessive.
-
Indeed...
Just out of curiosity, why do you need to check every state ?
-
Indeed...
Just out of curiosity, why do you need to check every state ?
I'm syncing states between Unity host and Scaleform interface made with Flash.
Basically, there's a slave copy of the FSM on Flash side.