someoneyouknow Posted November 12, 2016 Share Posted November 12, 2016 So I'm trying to target ALL actors within a given radius around an activator or static object by script. I know how to target the actor that is closest or a random one, but not target all in the area at once.The idea is to get all actors in the area then perform an action on them such as kill(), for example. Suggestions? Thanks! Link to comment Share on other sites More sharing options...
ajs52698 Posted November 13, 2016 Share Posted November 13, 2016 Use the function FindAllReferencesOfType http://www.creationkit.com/fallout4/index.php?title=FindAllReferencesOfType_-_ObjectReference and give it a formlist of npcs as the object to search for Link to comment Share on other sites More sharing options...
someoneyouknow Posted November 13, 2016 Author Share Posted November 13, 2016 Use the function FindAllReferencesOfType http://www.creationkit.com/fallout4/index.php?title=FindAllReferencesOfType_-_ObjectReference and give it a formlist of npcs as the object to search forThanks! I don't know how I managed to miss that one. Link to comment Share on other sites More sharing options...
Recommended Posts