Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: part12studios on July 25, 2013, 06:48:28 AM

Title: [SOLVED] Need help with "listeners" in PM
Post by: part12studios on July 25, 2013, 06:48:28 AM
Hi there,

What I want to do is to click one thing and effect other things with a global variable.  Like clicking a object to effect something else.

In the action list, what do use to "listen" to a global variable in order to cause an action to occur in that object? 

Thanks!
Caleb
Title: Re: Need help with "listeners" in PM
Post by: escpodgames on July 25, 2013, 07:23:59 AM
For global variables all you need to do it test or compare it

For example fsm1 set a bool to true, fsm2 is testing to see it the global variable (bool) changed ... if it did yay!

Are you getting confused with Global events?!? 
Title: Re: Need help with "listeners" in PM
Post by: part12studios on July 25, 2013, 01:13:36 PM
no that's perfect!  "test" actions didn't occur to me as how i'd listen for something happening.  thanks!  :)