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

Source
common.j (suggest an edit or discuss on Github)
return type
unit
Source code
constant native GetTriggerUnit takes nothing returns unit