Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: Splankton on October 09, 2014, 01:43:52 PM
-
Hi,
I have 3 FSM's
I need to need to know from another FSM, which of the 3 has activated or fired.
Do I use something like SetEventData in all 3 FSM's, then use GetEvent info on the the other to know which one fired? Or is there another way?
-
Hi,
have you checked GetFsm*variable* and GetState actions?
Maybe thats what you after?
-
I would use "get fsm bool"
Within each fsm, make a bool variable, name it something like "activated"
When each fsm starts, set its own bool to true. When it finishes, set it to false.
From your other fsm's you would then use the get fsm bool action.
-
Yes that could be the way to do it.
I have some Fsm's which takes variables from each other, before GetFsm*** they check FsmState "Done" or other, then its safe to get variables meaning they are loaded.
-
Thanks both for your answers!