#Update Display from Custom Trigger without TSU (Trigger State Updater)?

2 messages · Page 1 of 1 (latest)

scarlet moss
#

From a normal custom trigger such as Trigger: Custom --> Status

  • Question:

How does one tell the aura to re-draw the display while the aura still is returning true on the display triggers. When using Trigger State Updater I would use changed = true and doing so would cause my display to update. Without TSU, my only understanding is to return false on it's display conditions, then immediately return true somehow. This is very difficult to do.

Note: I am trying to avoid using Display -> Update Text on: Every Frame

  • My use case:

For example, I want my aura to display text whenever the character pane is open. There is no event for opening the character pane. So I do the following:

CharacterFrame:HookScript("OnShow", function() WeakAuras.ScanEvents("MY_AURA_SHOW") end)

I set my Trigger: Status to be the event MY_AURA_SHOW and I have the trigger return true. However while my aura displays, no code that's running can update the display text, because in Display -> Update Text on: Trigger Update doesn't occur because the display trigger is still true.

warped pasture