GetOwningPlayer
- Parameters
whichUnit unitTarget unit.
- comment
Returns the owner player of the unit.
- note
See:
SetUnitOwner.- patch
1.00
- Source
- common.j (suggest an edit or discuss on Github)
- return type
player- Source code
constant native GetOwningPlayer takes unit whichUnit returns player