Hi, I'm trying to get some entities to work in a chain and they all have a different score that is their position in the chain. I need to get some information between them so I was wondering how I may select entities in a radius with a lower score than the entity that is executing the command.
E.g. if there is one entity that is in position 5, I need to run a command from 5 to all entities with a score of 4, then from 4 to 3, 3 to 2, etc.
Specifically I'm moving a secondary score, An entity in position 5 that has a score of say 3 needs to move that score down the line.
Thanks,