Mod:Creation Kit/GetUniqueActor - ActorBase

Member of: Mod:Creation Kit/ActorBase Script

Obtains the unique actor reference for this actor base. (Assuming the actor is actually unique)

Syntax
Actor Function GetUniqueActor native

Parameters
None.

Return Value
The actor for this unique actor base. If the actor is not persistent or is not currently loaded this may return NONE.

Examples
ActorBase TargetNPC = TargetFormList.GetAt( inexttarget ); Actor target = TargetNPC.GetUniqueActor; target.Kill;
 * kill an NPC from a list