GSE: Sequences, Variables, Macros

GSE: Sequences, Variables, Macros

7M Downloads

[ENH] Create event that can be monitored by Weakauras to show current sequence status

TimothyLuke opened this issue ยท 1 comments

commented

Create an event that Weakauras can monitor.

Sample Weakaura to monitor the event:

!WA:2!1z1tVTnYv8iRMMuMTP2YB8MKg0L1anizRTrCWMDlkqkwrzABTvwsHIoolkkKgsoICAOgYDMH(FffOvyrroRl5Uo3ErFck89cmqOFc8H(bih7P(MHuYXX7sarn8n)EZ8()7v6Lv4Pl9Sn28zB8K1)81d3e9KFJ3NJRmOsqLG3S5ieZVbMgkI(Uvo3lHfGzwi)xhWsstx0kMC6PiwGPBssSGKofLjIsyTsfKek3GDsR(95yXU)Rpz)V6AWZee1h2VDcHk8Qz3012zC)S44AeMFmUNdpf5JVod5R5)lC4cetyyrOeHHxF4pEKXqbJegIz87)qwXY)(4aSxw)(UNKIz7A3O9273WsaF4GYyONoKNIJJRhWnoNN5HpetfDa0KJN0Tw1oUD74w1X1kdUeV0y0jy2CyTzyaMtN22nA4OP4TlgflICOObyUXOmAHiymXpjoBaTJsdk)oq)Wmkk(LGCcQYBhXXX91QTvd7TDDqXKqQ8MdzjcKsxlngUshCO2SnkKrcoGeiIULvCckyBlo5u8kodYaBSHfOn(Ri)mdh)yeNRw5jqXGSPwo1RW5uljoH91LlxUD5NSXZgQosL5zvNTyikzasGJ8yOasg)7(ihUpCaLh7JvITgwdhVCND048)TdcXPl15BZqmS52GpZ8GiIapMPfAfpNfCcyvi(HSKS0cU6ac(1DIjdiIBnjNuUGvQuPYfeQtHqKYdZ44gkCrpnJemPvZ9680t2CWMKKZ9bJIarfBdXfjmpNQBvF)oGP7OCJ9z5htEO2pzexGtRsdJXF6yrI)H5oG7w6FozvsWz70XUoCC7OerWjKgHkpPpd8LDemKav(D5bOBRiP0jVo1CSTBok3Kbh0xi)OTLlBrtO4ZWiUIpDYXnMgaHAkeDvbEmogUMa(qfg1bjBynarOaVYgY9UHSPSLSnS82FifpGV(KqdlWmEKJ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kFuF5AQ5mKRREpwvY2xNI2t(RvugPlShd5f9KpwriDrGs1IMm6EorohPIsE7hUdHgj)szx5RE4eWq7JZZ57nunBxyJKWiRttsgusElizYqEBd5pfgbAUol)DtE0(TE8bzp6lp4eR0pEwtlvy2weoc88brYDllTlMfGvmlGCNY62r1kyasKDGWZEY6YVwPFfJ2gjDmyeQAEcix86gV71yyod1SychLtlsEGXWzxAKCv5nRC4)5v))d

The event: GSE_SEQUENCE_ICON_UPDATE
THe TSU Trigger:

function(allstates, event,sourceName, spellinfo, ... )
    if event == "GSE_SEQUENCE_ICON_UPDATE" then
        
        if sourceName and spellinfo then
            
            --Use the arguments for this event
            allstates[sourceName] = {
                show = true,
                changed = true,
                progressType = "static",
                name = sourceName,
                icon = spellinfo.iconID
                
            }
            return true
        end
    end
end
commented

image