On this pageFunction: SetUnitOwner() SetUnitOwner(whichUnit, whichPlayer, changeColor): void Defined in: common.j.d.ts:16095 Parameters whichUnit unit unit whichPlayer player player changeColor boolean boolean Returns void nothing See https://lep.duckdns.org/jassbot/doc/SetUnitOwner