playMaker

Author Topic: Int Switch for routing levels, send events globally? [SOLVED]  (Read 2641 times)

jalex19

  • Playmaker Newbie
  • *
  • Posts: 27
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!
« Last Edit: April 02, 2012, 11:01:53 PM by jalex19 »

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 3987
  • Official Playmaker Support
    • LinkedIn
Re: Int Switch for routing levels, send events globally?
« Reply #1 on: March 31, 2012, 02:26:55 PM »
Use Set Event Target before the Int Switch.

jalex19

  • Playmaker Newbie
  • *
  • Posts: 27
Re: Int Switch for routing levels, send events globally? [Solved!]
« Reply #2 on: April 02, 2012, 11:00:31 PM »
Thanks! Solved!