Background for Fallout 4
Member of the ActorBase script
ActorfunctionGetUniqueActor()Native

Description

Wiki Description

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

Documentation Comment

Gets the actor for this UniqueNPC


Caveats


Examples

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

Auto-Generated Example

Actor returnedValue = myActorBase__toCallFunctionOn.GetUniqueActor()

Related Pages


Additional References

View this function’s page on the Fallout 4 Creation Kit Wiki

Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.