playMaker

Author Topic: how many FSMs can be active at the same time???  (Read 3227 times)

mickenzyjoela

  • Guest
how many FSMs can be active at the same time???
« 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?
« Last Edit: February 04, 2019, 03:36:50 AM by jeanfabre »

tcmeric

  • Beta Group
  • Hero Member
  • *
  • Posts: 768
Re: how many FSMs can be active at the same time???
« Reply #1 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.

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 3987
  • Official Playmaker Support
    • LinkedIn
Re: how many FSMs can be active at the same time???
« Reply #2 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

Fat Pug Studio

  • Beta Group
  • Hero Member
  • *
  • Posts: 1294
    • Fat Pug Studio
Re: how many FSMs can be active at the same time???
« Reply #3 on: February 03, 2019, 03:27:20 AM »
Is FSM Browser working in beta? Every item in the menu is greyed out.
« Last Edit: February 03, 2019, 02:37:57 PM by krmko »
Available for Playmaker work

Fat Pug Studio

  • Beta Group
  • Hero Member
  • *
  • Posts: 1294
    • Fat Pug Studio
Re: how many FSMs can be active at the same time???
« Reply #4 on: February 04, 2019, 01:45:14 PM »
Bump, bump, bumpity bump, my FSM browser does not work.

Available for Playmaker work

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7615
    • jinxtergames
Re: how many FSMs can be active at the same time???
« Reply #5 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?

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 3987
  • Official Playmaker Support
    • LinkedIn
Re: how many FSMs can be active at the same time???
« Reply #6 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.

Fat Pug Studio

  • Beta Group
  • Hero Member
  • *
  • Posts: 1294
    • Fat Pug Studio
Re: how many FSMs can be active at the same time???
« Reply #7 on: February 05, 2019, 01:03:18 AM »
@ Djay and Alex

It works, it actually needed a lot of time to load i guess.
Available for Playmaker work