Author Topic: Send Event to all objects with tag  (Read 1635 times)


  • Junior Playmaker
  • **
  • Posts: 57
    • Little Worlds Interactive
Send Event to all objects with tag
« on: July 15, 2013, 03:07:12 PM »
I would like to be able to send events to groups of objects - all my monsters, or all potions on screen, etc.  It seems like the best way (unless someone else has found a different way to do this) would be to send an event to all objects with a particular tag.

Thank you!


  • Administrator
  • Hero Member
  • *****
  • Posts: 15496
  • Official Playmaker Support
Re: Send Event to all objects with tag
« Reply #1 on: July 28, 2013, 10:33:48 AM »

 you can also take a different approach: Label your events using event data, and when receiving such event, your object check that it's targeted to himself and then decides if yes or not it should act upon this event.

This is the first alternatives. A second one would be to store your object in lists and fire events to that list. I think that ArrayMaker could be a good middle man for this, with a custom action to fire event to all gameObject within a list. Would that help you? you would maintain arrays the way you want, knowing that only them ones listed would receive that event.

 The problem you raise is a very interesting issue that I definitly is a problem to implement properly using playmaker.