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.

patch

1.00

return type
unit
Source code
constant native GetTriggerUnit takes nothing returns unit
Source
common.j
wc3modding.com
GetTriggerUnit