playMaker

Author Topic: PlayMakerFSM.SendEvent() vs PlayMakerFSM.Fsm.Event() ?  (Read 4538 times)

Andy22

  • Junior Playmaker
  • **
  • Posts: 99
PlayMakerFSM.SendEvent() vs PlayMakerFSM.Fsm.Event() ?
« on: August 22, 2013, 08:11:51 AM »
Hi,

is there a difference between those 2 methods for sending events from script to a PlayMakerFSM? It seems both behave the same way regarding local/global defined events.

Just wondering since all tutorials use the PlayMakerFSM.Fsm.Event() syntax?

Thx Andy

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 4002
  • Official Playmaker Support
    • LinkedIn
Re: PlayMakerFSM.SendEvent() vs PlayMakerFSM.Fsm.Event() ?
« Reply #1 on: August 22, 2013, 05:04:29 PM »
They are the same. Internally PlayMakerFsm.SendEvent() just calls Fsm.Event()

Andy22

  • Junior Playmaker
  • **
  • Posts: 99
Re: PlayMakerFSM.SendEvent() vs PlayMakerFSM.Fsm.Event() ?
« Reply #2 on: August 23, 2013, 04:01:13 AM »
Ah oki, was suspecting this, so the tutorials are just a little outdated.

Thx Andy