1

A little question about commands.

LikeAndSubscreib's Avatar LikeAndSubscreib2/19/17 5:42 am
1 emeralds 122 1
2/19/2017 8:28 am
Bertiecrafter's Avatar Bertiecrafter
Hi! Can someone help me with this?
I want different teams to shoot different type of arrows with bows.

Example:
Team A shoots arrows with red particles
Team B shoots arrows with blue particles

Thanks!
Posted by LikeAndSubscreib's Avatar
LikeAndSubscreib
Level 1 : New Miner
0

Create an account or sign in to comment.

1

1
02/19/2017 8:28 am
Level 70 : Legendary Engineer
Bertiecrafter
Bertiecrafter's Avatar
Make all players join a team.
/scoreboard teams add <team1>
/scoreboard teams add <team2>
...
/scoreboard teams join <teamName> <player>
...

Then once all players joined a team, tag the arrows that they shoot on a VERY fast clock (or repeater/chain command blocks)
/execute @a[team=<teamName>] ~ ~ ~ /scoreboard players tag @e[type=arrow,r=1] add <teamName>
...

And execute your commands =)
/execute @e[type=arrow,tag=<teamName>] ~ ~ ~ /particle (...)
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome