I have an existing WA authored by someone else that displays materials gathered. At times I would like to manually suppress the information displayed by the WA to clear up screen space. The WA already can load the WA in certain zones or under certain conditions but requires me to access the WA configuration each time to trick it not to display (load only in War Mode, for instance). Is there a way I can trigger an on/off mouse click to suppress the display on demand?
#Suppress display of WA text and icon frame using mouse click
17 messages · Page 1 of 1 (latest)
custom trigger turning on/off from ScanEvents
- macro sending it
Does anyone else have a solution? The previous poster deleted his response.
do what ፑጹ፱ቭⶈረ𐩡ተ recommended. more detailed example:
create a macro with /run WeakAuras.ScanEvents("CUSTOM_WA_RESOURCES")
create an extra trigger in the WA with custom - status - events - CUSTOM_WA_RESOURCES in events
custom trigger:
function(event)
if event == "CUSTOM_WA_RESOURCES" then
aura_env.show = not aura_env.show
end
return not aura_env.show
end
you might need to change trigger activation depending on how the rest of the aura looks like, link it if it needs further editing.
you "can" use this same concept to make it hide on click but it's generally advised to not do that as it might lead to errors, especially if it's an aura that uses clones.
Thank you for your response. The WA I'm modifying has a dynamic group. My assumption is that entire WA can be toggled on and off by setting the triggers on the Dynamic Group and not any of it's children. When I place the code in as you have instructed two of the children correctly toggle on and off but the critical child showing the gathered items does not.
The "Required for Activation" drop down on the Trigger tab for the Dynamic Group is set to Trigger 1. The custom function in trigger 1 is quite complex but there is code here that addresses the other two children.
I can provide a link to the original author's website in wago.io or drop the import string if you would like to review the original WA unmodified.
ideally link both of them (unedited version + version with the added custom trigger)
Do you want me to drop the import string?
it's more recommended to upload to wago.io and link to that but doesn't matter to me, you can post the import string
Being rather new to using WA, I'm not familiar with using wago.io to create a link. Can you provide me a link for instructions?
!linkit
WeakAuras doesn't show anything by default, it's just the framework that lets you import or create "Auras" to display things. If you're having an issue with an Aura, and/or want opinions on it, then you need to share the specific Aura. The best way to do this is to link it through https://wago.io/.
If you only imported the aura, you may right click the aura in-game and select Copy URL and paste it here. If you have modified the aura or created your own, you may instead select Export to string... and upload the string to https://wago.io/. This does not require an account.
You can now paste the import string directly into Discord (with no other text, only the string) and a bot will import it for you and link the wago.
more specifically go to wago.io's main page and you'll see this where you can paste your import string in
Here is the modified WA: https://wago.io/1b7GWFWvA
Here is the original: https://wago.io/n3PzItO3Q
required for activation in the modified aura seems to be set to "Any Triggers"
change that to "All Triggers" and it should work fine
Perfect that worked.