Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: Twood on September 20, 2021, 12:43:33 AM

Title: Can Run FSM run in the background?
Post by: Twood on September 20, 2021, 12:43:33 AM
Just was messing with templates and Run FSM, and the part that was a bit less effective to me is it seems the only way to use it is waiting for it to finish before you can carry on. Unless I missed something? Would be pretty cool for some things if it could run in the background.
Title: Re: Can Run FSM run in the background?
Post by: djaydino on September 20, 2021, 10:52:00 AM
Hi.
As long as the state with the run fsm is active it can keep running.

if you can't stay in that state then its probably better to use a separate fsm
Title: Re: Can Run FSM run in the background?
Post by: Twood on September 20, 2021, 01:13:58 PM
No I mean more like is there a way to use templates as self-destroying background scripts doing their own thing rather than things that pause the current state machine until they finish.

Obviously you can use separate FSMs but trying to get away from some of the clutter.
Title: Re: Can Run FSM run in the background?
Post by: djaydino on September 20, 2021, 05:16:13 PM
Hi.
You could make prefabs.

in c# you would also still have the script on a object :)