GetUniqueActor - ActorBase
From Creation Kit
Member of: ActorBase Script
Obtains the unique actor reference for this actor base. (Assuming the actor is actually unique)
Actor Function GetUniqueActor() native
The actor for this unique actor base. If the actor is not persistent or is not currently loaded this may return NONE.
;kill an NPC from a list ActorBase TargetNPC = TargetFormList.GetAt( inexttarget ); Actor target = TargetNPC.GetUniqueActor(); target.Kill();