GetActorOwner - Cell

From the CreationKit Wiki
Revision as of 16:26, 18 October 2011 by imported>Rhavlovick (1 revision: Clobber re-import by Henning)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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

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