playMaker

Author Topic: Run FSM Event Output Setup?  (Read 2522 times)

craigz

  • Beta Group
  • Full Member
  • *
  • Posts: 234
    • Haven Made
Run FSM Event Output Setup?
« on: January 12, 2022, 01:17:59 AM »
Is there any documentation on how to use the output events in the 1.9x versions of PlayMaker?

I've been used to using the Run FSM Func action from HardLight but have officially transitioned to the latest version of PM in a new project and am a little confused on how to send output events from a template 🤦‍♂️

Installs:
Unity 2019.4.16f1
Playmaker 1.9.4f2

(bigger images: right click > open image in new tab 👍)

Setup #1


1. Parent is a unique FSM with state using an FSM template with 3 different outcomes


2. Sub FSM Template gets a random int and then sends events marked as output via an int switch action



3. Parent FSM does not exit the Run Fsm Action state, the int switch state in the Sub FSM Template stays highlighted




Expected Outcome:
The switch would trigger the output event from the parent FSM state.


Setup #2
I have also tested using a 'Random Event' action that links to individual 'Send Event' actions set to Host FSM with no success.




Hopefully I'm just missing a checkbox somewhere 😊

Thanks, friends!

-craigz
« Last Edit: January 12, 2022, 01:57:04 PM by craigz »

Gua

  • Beta Group
  • Sr. Member
  • *
  • Posts: 312
    • Andrii Vintsevych
Re: Run FSM Event Output Setup?
« Reply #1 on: January 12, 2022, 01:47:35 PM »
I think it's bug. I also have issues with Run FSM Event Output Setup. Glad you've managed to make simple case to show the issue.
« Last Edit: January 12, 2022, 01:50:29 PM by Gua »

craigz

  • Beta Group
  • Full Member
  • *
  • Posts: 234
    • Haven Made
Re: Run FSM Event Output Setup?
« Reply #2 on: January 13, 2022, 12:57:51 AM »
I think it's bug. I also have issues with Run FSM Event Output Setup. Glad you've managed to make simple case to show the issue.

Whew! Okay I'm glad that I'm not absolutely crazy then haha thanks Andrii! 😁

Also! I'm super happy to finally ran into you on here, your games are very impressive 🙇‍♂️

-craigz

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7618
    • jinxtergames
Re: Run FSM Event Output Setup?
« Reply #3 on: January 13, 2022, 10:21:31 AM »
Hi.
I did a quick test on my end and even without template it can be broken.

If i add a next frame event in the run fsm template it does work.


craigz

  • Beta Group
  • Full Member
  • *
  • Posts: 234
    • Haven Made
Re: Run FSM Event Output Setup?
« Reply #4 on: January 18, 2022, 03:17:57 PM »
Hmm interesting! 😅 does this merit a bug report or Alex ping or is this as designed and just needing some FAQ update?

I just tested on my end again, and even without every frame checked if I go back to the host fsm and re-enter the template state it will actually work 🤔


djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7618
    • jinxtergames
Re: Run FSM Event Output Setup?
« Reply #5 on: January 19, 2022, 08:06:38 AM »
Hi.
I did ping alex but he might be on vacation or so.
i did not test with every frame on my setup as its not logic to do so.

but it still gets stuck.
i think because i only has this in my scene and its like doing 2 events to fast behind each other.