xzeth
X
xzeth
Ok, I have something like this:
I want to know what was the event that triggered the function GO. Thanks.
JASS:
function InitTrig_UP takes nothing returns nothing
set gg_trg_UP = CreateTimer()
call TriggerRegisterAnyUnitEventBJ(gg_trg_UP, EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerRegisterAnyUnitEventBJ(gg_trg_UP, EVENT_PLAYER_UNIT_ATTACKED)
call TriggerAddAction(gg_trg_UP, function GO)
endfunction
I want to know what was the event that triggered the function GO. Thanks.