Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: spektron on August 06, 2017, 04:29:47 PM

Title: Get event properties not working?
Post by: spektron on August 06, 2017, 04:29:47 PM
Hello,
I've a state the broadcast a global event to all.
then i have 3 gameobjects with a listener state and that event as transition.
they have a get event properties action with 1 param.

only the 1 out of 3 get the value, not the others.
from the fsm log i see that the event is correctly received but not the value, it's 0 on the other 2.

insights?
Title: Re: Get event properties not working?
Post by: djaydino on August 08, 2017, 09:56:25 PM
Hi,
What Values are you getting?
it is always better to use proper actions instead of get/set properties.

Are all global events triggered?
 
You can use breakpoints to test if an action is called

here are some tips for debugging :