GetTriggerUnit

comment

Returns handle to unit which triggered the most recent event when called from within a trigger action function. Returns null handle when used incorrectly.

note

Can be used in TriggerRegisterDeathEvent if the dead widget is actually a unit.

return type
unit
Source code
constant native GetTriggerUnit takes nothing returns unit
Source
unit-based-event-api.j
wc3modding.com
GetTriggerUnit