Playmaker Forum
PlayMaker Updates & Downloads => Share New Actions => Topic started 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
- filter by tag --> incl Layer set false --> send event to all object with equal tag
- filter by tag --> incl Layer set true --> filter by layer --> send event to all object with equal tag + equal layer
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
-
where should we put game object make space for adding game objects as well
-
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
-
This is really useful, thanks 8)
-
Thank you! :D
-
Hi,
yep, very useful, thanks for this!
Bye,
Jean