[WA2] Incooperating missing health, and more, in a custom trigger
Hey.
I am looking for help regarding a custom trigger in WeakAuras. I want the trigger to hide the display under 4 circumstances:
Player has target (done)
Player is casting
Player is wounded
Player is in combat
I'm halfway there, I feel. Here is what I already have (can't post links, sorry): Custom trigger function()
local connector_hide = false
if(UnitExists("target")) then
connector_hide = 1
end;
return connector_hide
end
Custom untrigger function()
local connector_hide = false
if(UnitExists("target")) then
connector_hide = 1
end;
return connector_hide
end
I already got the hide part to work, and I already got the has target part to work.
Now I am just missing the other 3 circumstances, and can't for the life of me find what their "functions" are called: for example, 'player has target' becoming UnitExists("target").