Try giving the object a variable, and set it to 1,2,3,etc for each object. Then you can reference them like this:
Repeat 10 times
Higher if you need to, then set these as sub-events:
> Object variable = LoopIndex-1
This will select the object before
> Object variable = LoopIndex
This will select the object
> Object variable = LoopIndex+1
This will select the object after