GetTriggerUnit
- comment
Returns handle to unit which triggered the most recent event when called from within a trigger action function. Returns
nullhandle when used incorrectly.- note
Can be used in
TriggerRegisterDeathEventif the dead widget is actually a unit.- patch
1.00
- Source
- common.j (raise an issue to discuss on Github or submit a PR)
- return type
unit- Source code
constant native GetTriggerUnit takes nothing returns unit