IsUnique - ActorBase

From the CreationKit Wiki
Revision as of 15:27, 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: ActorBase Script

Obtains whether this actor base is flagged as unique or not.

Syntax[edit | edit source]

bool Function IsUnique() native

Parameters[edit | edit source]

None.

Return Value[edit | edit source]

Whether this actor base is flagged as unique.

Examples[edit | edit source]

; Is the actor unique?
ActorBase PersonBase = ImportantPersonProperty.GetBaseObject() as ActorBase
if (PersonBase.IsUnique())
  Debug.Trace("Important person is unique")
endIf

See Also[edit | edit source]