Playmaker Forum

PlayMaker News => General Discussion => Topic started by: mickenzyjoela on February 02, 2019, 11:09:36 AM

Title: how many FSMs can be active at the same time???
Post by: mickenzyjoela on February 02, 2019, 11:09:36 AM
Is it possible to have several active FSMs at runtime? if yes, how it can be implemented?
Title: Re: how many FSMs can be active at the same time???
Post by: tcmeric on February 02, 2019, 11:20:49 AM
Hi. Yes, 99% of games will need dozens, if not more FSM running. It is common practice to have more than one FSM running on a gameobject at once. Especially for AI or such things. How many FSM can be running at once depends on what they are doing and what kind of device you are using. But in practice, for a PC, you can have 100+ FSMs running at one time.
Title: Re: how many FSMs can be active at the same time???
Post by: Alex Chouls on February 02, 2019, 01:03:10 PM
Yes. In fact, a common mistake is to try and do too much in one FSM. It's generally better to make smaller FSMs that talk to each other if they need to (e.g., by sending events).

The selection toolbar helps you manage multiple FSMs on a GameObject:
https://hutonggames.fogbugz.com/f/page?W138

And the FSM Browser lets you see all FSMs in your scene/project:
https://hutonggames.fogbugz.com/f/page?W124
Title: Re: how many FSMs can be active at the same time???
Post by: Fat Pug Studio on February 03, 2019, 03:27:20 AM
Is FSM Browser working in beta? Every item in the menu is greyed out.
Title: Re: how many FSMs can be active at the same time???
Post by: Fat Pug Studio on February 04, 2019, 01:45:14 PM
Bump, bump, bumpity bump, my FSM browser does not work.

Title: Re: how many FSMs can be active at the same time???
Post by: djaydino on February 04, 2019, 02:59:27 PM
Hi,

i just tested on 2018.2.10f1 and pm 1.9.0p6

it seems to work here

What unity / playmaker version are you on?
Title: Re: how many FSMs can be active at the same time???
Post by: Alex Chouls on February 04, 2019, 07:35:48 PM
Is FSM Browser working in beta? Every item in the menu is greyed out.

If this is beta specific please start a thread in the Beta Feeback board.
Title: Re: how many FSMs can be active at the same time???
Post by: Fat Pug Studio on February 05, 2019, 01:03:18 AM
@ Djay and Alex

It works, it actually needed a lot of time to load i guess.