Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: Andy22 on August 22, 2013, 08:11:51 AM

Title: PlayMakerFSM.SendEvent() vs PlayMakerFSM.Fsm.Event() ?
Post by: Andy22 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
Title: Re: PlayMakerFSM.SendEvent() vs PlayMakerFSM.Fsm.Event() ?
Post by: Alex Chouls on August 22, 2013, 05:04:29 PM
They are the same. Internally PlayMakerFsm.SendEvent() just calls Fsm.Event()
Title: Re: PlayMakerFSM.SendEvent() vs PlayMakerFSM.Fsm.Event() ?
Post by: Andy22 on August 23, 2013, 04:01:13 AM
Ah oki, was suspecting this, so the tutorials are just a little outdated.

Thx Andy