S
sonic_kun
Guest
OK, so I'm using JASS editor....and I'm trying to create a trigger from scratch. I want my event to be "a unit dies".
When I convert that event to custom text, it uses
"call TriggerRegisterAnyUnitEventBJ( gg_trg_test_glow, EVENT_PLAYER_UNIT_DEATH )"
Instead, can I use the
"TriggerRegisterDeathEvent takes trigger whichTrigger, widget whichWidget returns event"?
If so, what is a widget and what eidget should I use in this scenario?
Thanks in advance!
When I convert that event to custom text, it uses
"call TriggerRegisterAnyUnitEventBJ( gg_trg_test_glow, EVENT_PLAYER_UNIT_DEATH )"
Instead, can I use the
"TriggerRegisterDeathEvent takes trigger whichTrigger, widget whichWidget returns event"?
If so, what is a widget and what eidget should I use in this scenario?
Thanks in advance!