playMaker

Author Topic: Fsm State Synchronizer [August 2015]  (Read 1596 times)

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 14237
  • Official Playmaker Support
    • View Profile
Fsm State Synchronizer [August 2015]
« on: August 27, 2015, 05:21:33 AM »
Hi Everyone,

 Was working on this for a while, and finally found time to finish it :)

You can get it on the Ecosystem or download it below:

PlayMakerStateSynchronizer.unitypackage





So, now you can synchronize two fsm together. You define an Fsm source and an Fsm target, the target will check the source and if the active state name on the source is found on the target and it's not the current active state it will transit automatically.

You have several options for matching rules, like you could have "State 2 bis" in your target, and if the source enters a state named "State 2", nothing will change if you have set the rule to "If Doesn't Start With" or "If Doesn't contains" for example. this allows for more advanced synchronization.

It's straight forward to use, but I am wrapping up a demo to illustrate it, coming up mid next week.

Bye,

 Jean
« Last Edit: August 27, 2015, 05:26:15 AM by jeanfabre »

Lane

  • Administrator
  • Hero Member
  • *****
  • Posts: 2488
  • Yup.
    • View Profile
    • Cleverous
Re: Fsm State Synchronizer [August 2015]
« Reply #1 on: August 27, 2015, 05:25:05 AM »
Nice work! Thats a pretty handy feature =)

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 14237
  • Official Playmaker Support
    • View Profile
Re: Fsm State Synchronizer [August 2015]
« Reply #2 on: August 27, 2015, 05:29:36 AM »
Hi,

 Yep, especially with the various rule options, cause you can then have some other states where you can do complex flows yet not suffering from being synched or prevent rentering if you are already in the state to synch

Bye,

 Jean