Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: Gav (HeyBud) on February 27, 2014, 03:13:17 AM

Title: Who called my fsm?[SOLVED]
Post by: Gav (HeyBud) on February 27, 2014, 03:13:17 AM
Is there a way to get a handle on the game object that sent an event to another game object fsm and store it as a variable? For instance, A cube sends an event to a sphere to move toward the cube. I want to be able to save the cube as a Game Object variable in the sphere. Another analogy: A girl is walking down the street. A guy standing nearby calls the girl over. The girl says "Do I know you?"
The guy says "My name's Joe." The girl saves his info in her phone, so she can call him later. 
Title: Re: Who called my fsm?
Post by: redikann on February 27, 2014, 03:25:49 AM
'GetEventInfo' might be what your looking for.
Title: Re: Who called my fsm?
Post by: Gav (HeyBud) on February 27, 2014, 03:40:08 AM
It worked perfectly. Thanks!