Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: ramones on July 26, 2013, 06:50:39 AM

Title: About global events
Post by: ramones on July 26, 2013, 06:50:39 AM
Hi!,

I have read from another post:

Global Events: If you want to send events between FSMs they must be marked Global.

This is a bit misleading to me. I see global events as events that can be used in any FSM, I mean, things like "Success", "Failure", "Yes", "No" that are common should be global events in other to be reused and do not have a copy in every FSM.

Can they be seen this way? Or am I wrong?

Thanks in advance.
Title: Re: About global events
Post by: Alex Chouls on July 26, 2013, 01:27:03 PM
When you add the same event to multiple FSMs internally they map to the same event. Marking an event as Global really just filters the UI when you're sending events between FSMs, making it quicker to select events.