Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: jalex19 on March 31, 2012, 01:54:50 PM

Title: Int Switch for routing levels, send events globally? [SOLVED]
Post by: jalex19 on March 31, 2012, 01:54:50 PM
I'm using an Int Switch to route my levels within my Level Manager Game Object, in the action node it allows me to Send and Event. Can I do this globally within that action? I want to send a signal to my Level 2 Game Object when it's time to activate, but it seems like I now have to send the event to my Level Manager, and have yet another state whose sole purpose is to send that same Event targeted to my Level 2 Game Object. This seems inefficient to me?

Let me know if I'm doing something wrong or could be doing this simpler! Thanks!
Title: Re: Int Switch for routing levels, send events globally?
Post by: Alex Chouls on March 31, 2012, 02:26:55 PM
Use Set Event Target before the Int Switch.
Title: Re: Int Switch for routing levels, send events globally? [Solved!]
Post by: jalex19 on April 02, 2012, 11:00:31 PM
Thanks! Solved!