Unit to modify
The unit's new owner
True to change unit's accent color, false to leave old color
Changes ownership of a unit.
The HP bar will always have the color of its owner player, regardless of
- return type
- Source code
native SetUnitOwner takes unit whichUnit, player whichPlayer, boolean changeColor returns nothing