setOwner
setOwner(
authority,entity,owner):boolean
Makes owner the entity entity belongs to, or none with null, as
Unreal’s SetOwner. An owner that is gone, another world’s, or one
that entity already owns up its chain, entity itself among them, is
refused: a development world throws, naming the two, and a deployed one
logs it and changes nothing. Returns whether it applied.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
authority |
EntityAuthority |
entity |
Entity |
owner |
Entity | null |
Returns
Section titled “Returns”boolean