Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: rudolfwm on August 31, 2016, 09:42:25 AM
-
Hi all,
Im currently using FSM templates. Now I have some objects I wish to Reset on disable, and some that shouldnt reset on disable, using the same template.
Unfortunately...the reset on disable option of the FSM is grayed when selecting a template!
Is there a work around?
Thanks
-Rudolf
-
Hi,
Templates are like carbon copies... But there is a way you might be able to do what you want by using global events.
I don't know your set up but i will try to explain a sample :
just before i disable a fsm i use a send event to it and set it to an "idle" state
Then after you enabled that fsm use a send event to reset what you want to reset pre-setup in a state and if i do not then send an event to the state that i want to start from
This way you can even do different configurations depending on your needs :)