playMaker

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

mickenzyjoela

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

tcmeric

  • Beta Group
  • Hero Member
  • *
  • Posts: 728
    • View Profile
Re: how many FSMs can be active at the same time???
« Reply #1 on: February 02, 2019, 09: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: 3630
  • Official Playmaker Support
    • View Profile
    • LinkedIn
Re: how many FSMs can be active at the same time???
« Reply #2 on: February 02, 2019, 11:03:10 AM »
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

krmko

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

krmko

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


djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 4436
    • View Profile
    • jinxtergames
Re: how many FSMs can be active at the same time???
« Reply #5 on: February 04, 2019, 12: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?
FOR HIRE:Playmaker/C#

Playmaker Samples <-------------> Easy Exporter <---------------------> TPA Actions

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 3630
  • Official Playmaker Support
    • View Profile
    • LinkedIn
Re: how many FSMs can be active at the same time???
« Reply #6 on: February 04, 2019, 05: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.

krmko

  • Beta Group
  • Hero Member
  • *
  • Posts: 989
    • View Profile
    • Fat Pug Studio
Re: how many FSMs can be active at the same time???
« Reply #7 on: February 04, 2019, 11:03:18 PM »
@ Djay and Alex

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