If you use Kanegasis example, the trigger function itself never returns true and your aura will never show up.
You could do this whit custom event.
Custom Trigger - Events: BOSS_KILL, CUSTOM_EVENT_NAME
Lua Code:
function(event)
if event == "BOSS_KILL" then
C_Timer.After(3, function()
WeakAuras.ScanEvents("CUSTOM_EVENT_NAME")
-- If you want to pass some arguments
-- WeakAuras.ScanEvents("CUSTOM_EVENT_NAME", argument1, argument2)
end)
end
if event == "CUSTOM_EVENT_NAME" then
return true
end
end
And maybe use a better name for your custom event and not this generic example.