Background for Starfield
Member of the Location script
Actor[]functionGetActors(KeywordapRequiredLinkedRefKeyword=NONE, KeywordapExcludeLinkedRefKeyword=NONE)Native

Description

Documentation Comment

Get an array of all instantiated Actors (across all process levels) who belong to this location.
Can optionally specify a keyword for a linkedref that they must have (apRequiredLinkedRefKeyword), and/or a linkedref keyword they must NOT have (apExcludeLinkedRefKeyword).
(Presence or absence of the keywordless linkedref cannot be checked.)


Caveats


Parameters

KeywordapRequiredLinkedRefKeyword=NONE

KeywordapExcludeLinkedRefKeyword=NONE


Examples

Auto-Generated Example

Keyword myKeyword__apRequiredLinkedRefKeyword
Keyword myKeyword__apExcludeLinkedRefKeyword

Actor[] returnedValue = myLocation__toCallFunctionOn.GetActors(myKeyword__apRequiredLinkedRefKeyword, myKeyword__apExcludeLinkedRefKeyword)
Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.