• Hi Guest!

    We are extremely excited to announce the release of our first Beta for VaM2, the next generation of Virt-A-Mate which is currently in development.
    To participate in the Beta, a subscription to the Entertainer or Creator Tier is required. Once subscribed, download instructions can be found here.

    Click here for information and guides regarding the VaM2 beta. Join our Discord server for more announcements and community discussion about VaM2.

Question How should I set button A to simulate a click on button B?

fyxtc

Member
Joined
May 25, 2022
Messages
43
Reactions
3
In order for button A to trigger the click actions of button B
 
Would be curious to know that too.
For now perhaps think of an alternative to reach the intended result
 
Upvote 0
Well, UIButtons cannot be triggered in VAM by anything else than a click on them.
But there are ways to bypass that.

Without any additional plugin, you can add other atoms that use triggers and which can be externally triggered, such as UIToggle or AnimationPatterns.
For instance, put all the desired actions in the Trigger tab of your UIToggle. Then add a trigger in UIButtons A & B that'll trigger your UIToggle. Just be wary of the fact that some actions will be reversed when untoggled; that can be avoided by triggering it twice.
With AnimationPatterns, do a very simple non-looping 2 steps animations with triggers in it. Use the "ResetAndPlay" trigger to start it from a UIButton.

Or you can use a plugin. "Relay" from MacGruber's LogicBricks does just that.
It's the same idea: you put your trigger actions into any atom thanks to the plugin and then add only 1 trigger in your UIButtons that'll trigger it.
 
Upvote 0
Well, UIButtons cannot be triggered in VAM by anything else than a click on them.
But there are ways to bypass that.

Without any additional plugin, you can add other atoms that use triggers and which can be externally triggered, such as UIToggle or AnimationPatterns.
For instance, put all the desired actions in the Trigger tab of your UIToggle. Then add a trigger in UIButtons A & B that'll trigger your UIToggle. Just be wary of the fact that some actions will be reversed when untoggled; that can be avoided by triggering it twice.
With AnimationPatterns, do a very simple non-looping 2 steps animations with triggers in it. Use the "ResetAndPlay" trigger to start it from a UIButton.

Or you can use a plugin. "Relay" from MacGruber's LogicBricks does just that.
It's the same idea: you put your trigger actions into any atom thanks to the plugin and then add only 1 trigger in your UIButtons that'll trigger it.

Thank you, it's helpful
 
Upvote 0
Back
Top Bottom