GetOwningPlayer

Parameters
whichUnit unit

Target unit.

comment

Returns the owner player of the unit.

note

See: SetUnitOwner.

patch

1.00

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