GetActorOwner - Cell

From Creation Kit
Jump to: navigation, 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

ActorBase Function GetActorOwner() native

Parameters

None.

Return Value

The ActorBase that owns this cell.

Examples

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

See Also