IsUnique - ActorBase

From Creation Kit
Jump to: navigation, search

Member of: ActorBase Script

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

Syntax

bool Function IsUnique() native

Parameters

None.

Return Value

Whether this actor base is flagged as unique.

Examples

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

See Also