GetActorOwner - Cell

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search

Member of: Cell Script

Gets the ActorBase that owns this cell. Will return None if the cell isn't owned by an actor.

Syntax[edit | edit source]

ActorBase Function GetActorOwner() native

Parameters[edit | edit source]

None.

Return Value[edit | edit source]

The ActorBase that owns this cell.

Examples[edit | edit source]

; Does the emperor's base actor own the non-life star?
bool ownsNonLifeStar = (NonLifeStarProperty.GetActorOwner() == Emperor.GetActorBase())

See Also[edit | edit source]