Page 1 of 1

Add Action Filter To Multiple Actions At Once?

Posted: Tue Aug 13, 2019 5:46 am
by 1uv3
Hi,

I have a lot of actions. I would like to add the same filter to many of the actions. Is there a way to do this all at once or does each action filter have to be added to the action individually? I have well over 1000 actions and am barely even half way through with adding the same filter over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over............

again :-)

https://youtu.be/FRddA2YxCIA

Thanks!

Re: Add Action Filter To Multiple Actions At Once?

Posted: Tue Aug 13, 2019 10:43 am
by thomas
You can group the actions in an container, and then call the “trigger click” action on that container. Would that solve your problem?

Re: Add Action Filter To Multiple Actions At Once?

Posted: Tue Aug 13, 2019 10:54 am
by 1uv3
Hi Thomas!

How do I group the actions in a container? Are you referring to grouping objects into a container on the skin?

Re: Add Action Filter To Multiple Actions At Once?

Posted: Tue Aug 13, 2019 11:27 am
by thomas
You add a container and add multiple actions “on click” with the stuff you want to do. Then you use a single action to “call” those actions with a “trigger click”. Now you can apply the filter to this trigger action.

Re: Add Action Filter To Multiple Actions At Once?

Posted: Tue Aug 13, 2019 11:41 am
by 1uv3
Hmmm,

So let's say for example that I have 500 actions that need a "mobile only" action filter. How do I attach the action "container" to the 500?

Re: Add Action Filter To Multiple Actions At Once?

Posted: Tue Aug 13, 2019 5:40 pm
by Hopki
Ahhhh,
I see where Thomas is going with this, clever!

As an example, if you copied all the actions from the element: thumb-athletic-in, that need the action filter to a container, for example, thumb-athletic-in-container
Then in the element: thumb-athletic-in, remove all those actions and add: mouse click, trigger click, thumb-athletic-in-container
But then set an action filter, Is Mobile, = false.

So when you click the element: thumb-athletic-in, it will trigger a click to the container, thumb-athletic-in-container, and execute all the actions, but only if Is Mobile is false.

In the case of "thumb_athletic", just simply copy all actions into a container, then have the one action to "trigger click" the container with the action filter, Is Mobile.

8)

Re: Add Action Filter To Multiple Actions At Once?

Posted: Tue Aug 13, 2019 10:58 pm
by 1uv3
Aaaaaha!

OK, I think I understand now :-)

So basically create a corresponding container for element X with all the necessary actions copied to it. Remove all the actions from element X. Add a trigger click to element X so that when it's clicked it triggers a click on the container which will execute all the actions.

That is BRILLIANT!

Off the top of my head I am thinking that there cannot be any actions with target "self" because that would simply target the container and not the element......so all targets would need to be defined with the actual ID instead.

Awesome idea and will make things go a lot faster in the future. Thanks Thomas and Hopki!!!

Re: Add Action Filter To Multiple Actions At Once?

Posted: Tue Aug 13, 2019 11:11 pm
by Hopki
Off the top of my head I am thinking that there cannot be any actions with target "self" because that would simply target the container and not the element......so all targets would need to be defined with the actual ID instead.
Yep,
This is one of these tasks that it's easy to do when you're adding the actions, so you would set up one thumbnail with the actions and action filters, then copy the actions to the other thumbnails with just modifying the action targets.

Re: Add Action Filter To Multiple Actions At Once?

Posted: Wed Aug 14, 2019 11:36 am
by 1uv3
Are there any negative effects by calling full ID's instead of "self"?

Re: Add Action Filter To Multiple Actions At Once?

Posted: Wed Aug 14, 2019 3:21 pm
by Hopki
Nope, other than you have to select it.

Re: Add Action Filter To Multiple Actions At Once?

Posted: Wed Aug 14, 2019 8:51 pm
by 1uv3
lol,

Great! I will start making it a habit!

Thanks Hopki!