| 05-01-2010, 02:46 AM | #1 |
Ok, i have something like this: 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 action GO . |
