Playmaker Forum

PlayMaker Updates & Downloads => Share New Actions => Topic started by: dudebxl on April 13, 2015, 09:28:24 AM

Title: send Event by tag (send Event by layer)
Post by: dudebxl on April 13, 2015, 09:28:24 AM
hi,

another action..  alternative to broadcast all.  Not sure if it's 'best practice' but useful to quickly control/filter the send event..

usage

To conclude, it always filter first by tag then layer..

Update: action + updates are on ecosystem or https://snipt.net/dudebxl/ (https://snipt.net/dudebxl/)
hope it helps..  :o
Title: Re: send Event by tag (send Event by layer)
Post by: rik on April 13, 2015, 09:50:06 AM
where should we put game object make space for adding game objects as well
Title: Re: send Event by tag (send Event by layer)
Post by: dudebxl on April 13, 2015, 09:55:35 AM
Rik,

the action is a broadcast all filtered by tag/layer

you do not need to put gameobject.. if you need to send to a gameobject, you do not need tag/layer as you already know your 'target'.  :-\

if the event name is not in the dropdown (not global, can't seem to make the drop-down show all global events) then key input (use copy/past) the event name. The broadcast (send event) is always global..

You would use this action if for example I have 100 gameobjects all with the same event (set to global) name in them (and set FSM name). I want to quickly send an event to 25 gameobjects, I use the tag filter as my 25obj out 100 have a different tag... when i need to send to all 100 gameobject, i would then use the 'send event' action set (the normal one by playmaker) to broadcast all. Anyway, this is how i use it...  :o
Title: Re: send Event by tag (send Event by layer)
Post by: 4ppleseed on April 13, 2015, 10:44:57 AM
This is really useful, thanks  8)
Title: Re: send Event by tag (send Event by layer)
Post by: mdotstrange on April 13, 2015, 08:44:46 PM
Thank you!  :D
Title: Re: send Event by tag (send Event by layer)
Post by: jeanfabre on April 14, 2015, 02:49:55 PM
Hi,

 yep, very useful, thanks for this!

 Bye,

 Jean