GetOwningPlayer

Parameters
whichUnit unit

Target unit.

comment

Returns the owner player of the unit.

note

See: SetUnitOwner.

return type
player
Source code
constant native GetOwningPlayer takes unit whichUnit returns player
Source
unit.j
wc3modding.com
GetOwningPlayer