playMaker

Author Topic: duplicated global events shows no errors but is prone to problems  (Read 1570 times)

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 14703
  • Official Playmaker Support
    • View Profile
Hi,

 If I create two states and plug the same global transition on both of them, only one will receive it.

 it might be obvious on smal fsm, but on larger ones, this can easily be missed by the author.

 maybe a warning would be nice, since anyway this is the wrong approach and will lead to problems since only one state will be called out of all the ones plugged with that global transition.

 Bye,

 Jean

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 3634
  • Official Playmaker Support
    • View Profile
    • LinkedIn
Re: duplicated global events shows no errors but is prone to problems
« Reply #1 on: January 13, 2012, 01:39:33 PM »
Good idea. I'll try to sneak this into the next update...