Looking for some help with a command. I'm attempting to create a basic command that targets the rider of a horse, and not the horse itself. This is for a simple horse racing track finish line.
I've laid down a simple tripwire finish line with command block, then targeted the command at the finish line area. Originally I used @p, which worked great in testing until I got on the horse. I've tried targeting the entity, but that returns the horse's name. He's the current command
/say @e[x=-134,y=71,z=-63,dx=3,dy=1,dz=0] WINS!
lastly, I've tried a few extra tags hoping to target the player (like type=player) which have all given no output or just errors.
Any help would be appreciated,
Thanks!
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
hey there!
Looking for some help with a command. I'm attempting to create a basic command that targets the rider of a horse, and not the horse itself. This is for a simple horse racing track finish line.
I've laid down a simple tripwire finish line with command block, then targeted the command at the finish line area. Originally I used @p, which worked great in testing until I got on the horse. I've tried targeting the entity, but that returns the horse's name. He's the current command
/say @e[x=-134,y=71,z=-63,dx=3,dy=1,dz=0] WINS!
lastly, I've tried a few extra tags hoping to target the player (like type=player) which have all given no output or just errors.
Any help would be appreciated,
Thanks!