Okay did a bit more troubleshooting lol, but no errors with this:
InitVolumes() : void=
TaggedVolumes := GetCreativeObjectsWithTag(volume_area{})
for (Obj : TaggedVolumes):
if (Volumes := volume_device[Obj]):
Volumes.AgentEntersEvent.Subscribe(OnPlayerEntered)
Hopefully that’s correct indentation and then I was also getting ambiguous identifier with volumes so I just changed the first couple references to TaggedVolumes like in my original code. I haven’t tested to see if it eliminates the player but fingers crossed.