Jaslofft Posted October 9, 2021 Share Posted October 9, 2021 First off I am very new to scripting so this is most likely not difficult. I'm currently looking to make a script that will end combat for all nearby actors. I started by using an array variable with the GetActorsByProcessingLevel function. I've spent awhile looking at the tutorials on the GECK Wiki but have not been able it figure it out. This is what I started with although it does not work. I know I am doing something wrong I just don't know what. ref rActorarray_var aActors let aActors := GetActorsByProcessingLevel 0let rActor := aActors[0,1,2] (only started with the first three for this line)if PlayerRef.GetDistance rActor < 200rActor.ForceAV aggression 0 Any help would be appreciated if you know how to use array functions or an alternative method, Thanks. Link to comment Share on other sites More sharing options...
Recommended Posts