Description
Wiki Description
Sets the actor base as the owner of this object.
Documentation Comment
Sets this object's owner to the specified actor base - None means to remove ownership
Parameters
ActorBaseakActorBase
CK Wiki Description
The ActorBase to set as this object's owner. If None, will clear ownership.
Examples
; Clear ownership on the sword, which allows the player to take it without stealing it
SwordProperty.SetActorOwner(NONE); Set the player as the owner of the sword (other actors will "steal" it)
SwordProperty.SetActorOwner(Game.GetPlayer().GetActorBase()); Make Bob the owner of the sword
SwordProperty.SetActorOwner(Bob.GetActorBase())Auto-Generated Example
ActorBase myActorBase__akActorBase
myObjectReference__toCallFunctionOn.SetActorOwner(myActorBase__akActorBase)