How can I loop and find all bricks of a certain name within a certain magnitude?
Dont get me wrong, I might seem like a novice, but I know alot about programming, I just cant figure this out:
I need to be able to have a while loop that returns all blocks into an array that have the name say "Node" and that are with in the magnitude / distance of say 40 studs.
I can work out performance later, but I just don't know how to put something with a specific name AND within distance into an array. I would give some pseudo code or what I got but I just don't know how to continue without this essential piece of code.
I'm thinking maybe I could take an pre built array of all the Nodes then just loop through the entire thing and check locations, but that would create a tick delay.