#Custom Trigger %1.tooltip1
29 messages · Page 1 of 1 (latest)
!tooltip
To get a value from a buff or debuff's tooltip (the absorb amount on a shield buff for example), tick "Use Tooltip Info" in the buff trigger. This will have WeakAuras grab the whole tooltip, which can be accessed as %tooltip, and also the first three number values from the tooltip will be extracted and set as %tooltip1, %tooltip2 and %tooltip3.
If you need to manipulate any of these in code then they can be access in Custom Text with aura_env.states[triggerNumber].tooltip1. But the Format Options settings in Display will probably handle most of what you would need.
I think we actually need to take a step back and ask the question of what you are actually trying to do as your information is quite confusing
Do you just want to use the tooltip info for progress information of your aura?
I've actually managed to do without the tooltip, all the tooltip did was spell power * 1.61
aura_env.states[triggerNumber].tooltip1, I'm not finding tooltip1 this table inside the aura_env. I see that aura_env.stats has 3 different table (with keys = 1,0,-1), if i have only 1 trigger, which table should i look for? Thanks
aura_env.states[triggerNumber].tooltip1
If you're not seeing tooltip1 available then...
tick "Use Tooltip Info" in the buff trigger.
I checked Fetch Tooltip Information, but nothing
for k,v in pairs(aura_env.states[1]) do print(k,v) end print(aura_env.states[1].tooltip1)
Second print return nil, and in the first list of print can't see the tooltips variables (idk if it's a table or more variables)
Does the tooltip in question have numbers in it?
You deleted the original post so I have no idea what you're actually trying to acheive
It's the same
Since i need to find some particular word
Anything in the state table can be shown in text with %whatever
So tooltip info are not saved in aura_env.state but inside the trigger info inside aura_env.states[]?
?
aura_env.states contains a table for each trigger in your Aura.
aura_env.states[1] is trigger1's state table
Yes I understand this. I'm not the author of this poster but since this discussion was about it a wrote down here
Oh, apologies, I didn't notice that
Better to make a new post really. But might as well carry on now
Anyway, checking the Fetch Tooltip Information on trigger 1, inside the table aura_env.states[1] there aren't anything related to tooltip information
You closed config and activated the buff in question?
Ok, for some reason i activate the buff and was printing with WA opened and it was not present. Closing WA is now present and diplayed. Solved thanks