playMaker

Author Topic: [SOLVED] Need help with "listeners" in PM  (Read 1722 times)

part12studios

  • Playmaker Newbie
  • *
  • Posts: 41
[SOLVED] Need help with "listeners" in PM
« 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
« Last Edit: July 25, 2013, 01:15:34 PM by part12studios »

escpodgames

  • Hero Member
  • *****
  • Posts: 687
    • Assets
Re: Need help with "listeners" in PM
« Reply #1 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?!? 

part12studios

  • Playmaker Newbie
  • *
  • Posts: 41
Re: Need help with "listeners" in PM
« Reply #2 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!  :)