How to make a score be recorded as team? Planned maintenance scheduled April 23, 2019 at 00:00UTC (8:00pm US/Eastern) Announcing the arrival of Valued Associate #679: Cesar Manara Unicorn Meta Zoo #1: Why another podcast?Minecraft 'testfor' dummy objective not workingminecraft help with commandsHow to set separate scoreboardHow to change scoreboard score if player does not have item in his inventory?How do I make a slow clock without taking up space?Is there any way to make scoreboard objectives Universal?How do I place a red block under a red team member who is on a white block?Can I track a teams total deaths (rather than individual kills)?How detect a fake player with the highest score in a scoreboard in Minecraft 1.13?How can I set players to different teams?
An adverb for when you're not exaggerating
Performance gap between vector<bool> and array
Sum letters are not two different
Selecting user stories during sprint planning
How often does castling occur in grandmaster games?
I want to complete my figure
Why weren't discrete x86 CPUs ever used in game hardware?
Is grep documentation about ignoring case wrong, since it doesn't ignore case in filenames?
"Lost his faith in humanity in the trenches of Verdun" — last line of an SF story
Triggering an ultrasonic sensor
How do living politicians protect their readily obtainable signatures from misuse?
What would you call this weird metallic apparatus that allows you to lift people?
Converted a Scalar function to a TVF function for parallel execution-Still running in Serial mode
Should there be a hyphen in the construction "IT affin"?
Why are vacuum tubes still used in amateur radios?
What is the meaning of 'breadth' in breadth first search?
How does light 'choose' between wave and particle behaviour?
Product of Mrówka space and one point compactification discrete space.
What initially awakened the Balrog?
MLE of the unknown radius
Why is it faster to reheat something than it is to cook it?
Disembodied hand growing fangs
Put R under double integral
What does it mean that physics no longer uses mechanical models to describe phenomena?
How to make a score be recorded as team?
Planned maintenance scheduled April 23, 2019 at 00:00UTC (8:00pm US/Eastern)
Announcing the arrival of Valued Associate #679: Cesar Manara
Unicorn Meta Zoo #1: Why another podcast?Minecraft 'testfor' dummy objective not workingminecraft help with commandsHow to set separate scoreboardHow to change scoreboard score if player does not have item in his inventory?How do I make a slow clock without taking up space?Is there any way to make scoreboard objectives Universal?How do I place a red block under a red team member who is on a white block?Can I track a teams total deaths (rather than individual kills)?How detect a fake player with the highest score in a scoreboard in Minecraft 1.13?How can I set players to different teams?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
So I am trying to make a Lives counter for two separate teams. My original idea was to set up a dummy score titled Team Lives:
/scoreboard objectives add lives dummy Team Lives
the display is perfect except the dummy names TeamBlue and TeamRed don't show the color of the team they are added to even when I added the color option to team red and blue to red and blue respectively.
My main problem is that I do not know how to make the Lives counter decrease upon a single teammates death. I tried setting up a death counter and adding a repeating command block with the command
scoreboard players operation @a[team=blue] deaths > @a[team=blue] deaths
but that gives an Invalid Argument deaths <- [HERE] which doesn't make sense since that command works in the chat bar. Then I needed a command which will remove a point when someone on one team has a score of one to remove one life. I was thinking of setting up a repeating command block with the command
execute if score deaths @[team=TeamBlue] = (some entity with one death) deaths run scoreboard players TeamBlue remove Lives 1
but that requires 20 command blocks, so if anyone knows how to compress it, I will gladly accept it. My main issue is the fact that the scoreboard operation command is not working in the command block
minecraft minecraft-commands
bumped to the homepage by Community♦ 10 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
So I am trying to make a Lives counter for two separate teams. My original idea was to set up a dummy score titled Team Lives:
/scoreboard objectives add lives dummy Team Lives
the display is perfect except the dummy names TeamBlue and TeamRed don't show the color of the team they are added to even when I added the color option to team red and blue to red and blue respectively.
My main problem is that I do not know how to make the Lives counter decrease upon a single teammates death. I tried setting up a death counter and adding a repeating command block with the command
scoreboard players operation @a[team=blue] deaths > @a[team=blue] deaths
but that gives an Invalid Argument deaths <- [HERE] which doesn't make sense since that command works in the chat bar. Then I needed a command which will remove a point when someone on one team has a score of one to remove one life. I was thinking of setting up a repeating command block with the command
execute if score deaths @[team=TeamBlue] = (some entity with one death) deaths run scoreboard players TeamBlue remove Lives 1
but that requires 20 command blocks, so if anyone knows how to compress it, I will gladly accept it. My main issue is the fact that the scoreboard operation command is not working in the command block
minecraft minecraft-commands
bumped to the homepage by Community♦ 10 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Can't you use a regular "detect death" thing and then reduce the "lives" scoreboard based on that? Something likeexecute as @a[team=TeamBlue,scores=deaths=1] run scoreboard players remove dummyEntity Lives 1
and thenscoreboard players reset @a[team=TeamBlue] deaths
? That's the standard way to detect deaths.
– Fabian Röling
Mar 30 '18 at 12:35
That seems to work. Thank you for all your help. Also the color is working now. I think the game just needed to be relogged.
– CautiousNinja199
Mar 30 '18 at 15:11
add a comment |
So I am trying to make a Lives counter for two separate teams. My original idea was to set up a dummy score titled Team Lives:
/scoreboard objectives add lives dummy Team Lives
the display is perfect except the dummy names TeamBlue and TeamRed don't show the color of the team they are added to even when I added the color option to team red and blue to red and blue respectively.
My main problem is that I do not know how to make the Lives counter decrease upon a single teammates death. I tried setting up a death counter and adding a repeating command block with the command
scoreboard players operation @a[team=blue] deaths > @a[team=blue] deaths
but that gives an Invalid Argument deaths <- [HERE] which doesn't make sense since that command works in the chat bar. Then I needed a command which will remove a point when someone on one team has a score of one to remove one life. I was thinking of setting up a repeating command block with the command
execute if score deaths @[team=TeamBlue] = (some entity with one death) deaths run scoreboard players TeamBlue remove Lives 1
but that requires 20 command blocks, so if anyone knows how to compress it, I will gladly accept it. My main issue is the fact that the scoreboard operation command is not working in the command block
minecraft minecraft-commands
So I am trying to make a Lives counter for two separate teams. My original idea was to set up a dummy score titled Team Lives:
/scoreboard objectives add lives dummy Team Lives
the display is perfect except the dummy names TeamBlue and TeamRed don't show the color of the team they are added to even when I added the color option to team red and blue to red and blue respectively.
My main problem is that I do not know how to make the Lives counter decrease upon a single teammates death. I tried setting up a death counter and adding a repeating command block with the command
scoreboard players operation @a[team=blue] deaths > @a[team=blue] deaths
but that gives an Invalid Argument deaths <- [HERE] which doesn't make sense since that command works in the chat bar. Then I needed a command which will remove a point when someone on one team has a score of one to remove one life. I was thinking of setting up a repeating command block with the command
execute if score deaths @[team=TeamBlue] = (some entity with one death) deaths run scoreboard players TeamBlue remove Lives 1
but that requires 20 command blocks, so if anyone knows how to compress it, I will gladly accept it. My main issue is the fact that the scoreboard operation command is not working in the command block
minecraft minecraft-commands
minecraft minecraft-commands
edited Jul 22 '18 at 23:49
cherryblossom
856525
856525
asked Mar 30 '18 at 4:52
CautiousNinja199CautiousNinja199
1112
1112
bumped to the homepage by Community♦ 10 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
bumped to the homepage by Community♦ 10 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Can't you use a regular "detect death" thing and then reduce the "lives" scoreboard based on that? Something likeexecute as @a[team=TeamBlue,scores=deaths=1] run scoreboard players remove dummyEntity Lives 1
and thenscoreboard players reset @a[team=TeamBlue] deaths
? That's the standard way to detect deaths.
– Fabian Röling
Mar 30 '18 at 12:35
That seems to work. Thank you for all your help. Also the color is working now. I think the game just needed to be relogged.
– CautiousNinja199
Mar 30 '18 at 15:11
add a comment |
Can't you use a regular "detect death" thing and then reduce the "lives" scoreboard based on that? Something likeexecute as @a[team=TeamBlue,scores=deaths=1] run scoreboard players remove dummyEntity Lives 1
and thenscoreboard players reset @a[team=TeamBlue] deaths
? That's the standard way to detect deaths.
– Fabian Röling
Mar 30 '18 at 12:35
That seems to work. Thank you for all your help. Also the color is working now. I think the game just needed to be relogged.
– CautiousNinja199
Mar 30 '18 at 15:11
Can't you use a regular "detect death" thing and then reduce the "lives" scoreboard based on that? Something like
execute as @a[team=TeamBlue,scores=deaths=1] run scoreboard players remove dummyEntity Lives 1
and then scoreboard players reset @a[team=TeamBlue] deaths
? That's the standard way to detect deaths.– Fabian Röling
Mar 30 '18 at 12:35
Can't you use a regular "detect death" thing and then reduce the "lives" scoreboard based on that? Something like
execute as @a[team=TeamBlue,scores=deaths=1] run scoreboard players remove dummyEntity Lives 1
and then scoreboard players reset @a[team=TeamBlue] deaths
? That's the standard way to detect deaths.– Fabian Röling
Mar 30 '18 at 12:35
That seems to work. Thank you for all your help. Also the color is working now. I think the game just needed to be relogged.
– CautiousNinja199
Mar 30 '18 at 15:11
That seems to work. Thank you for all your help. Also the color is working now. I think the game just needed to be relogged.
– CautiousNinja199
Mar 30 '18 at 15:11
add a comment |
1 Answer
1
active
oldest
votes
From my comment:
You need a regular "detect player death" system and the thing you run from it is the decrease of the "Lives" score. You don't even need to sum up all player deaths in a central score.
execute as @a[team=TeamBlue,scores=deaths=1] run scoreboard players remove dummyEntity Lives 1
scoreboard players reset @a[team=TeamBlue] deaths
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "41"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgaming.stackexchange.com%2fquestions%2f330080%2fhow-to-make-a-score-be-recorded-as-team%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
From my comment:
You need a regular "detect player death" system and the thing you run from it is the decrease of the "Lives" score. You don't even need to sum up all player deaths in a central score.
execute as @a[team=TeamBlue,scores=deaths=1] run scoreboard players remove dummyEntity Lives 1
scoreboard players reset @a[team=TeamBlue] deaths
add a comment |
From my comment:
You need a regular "detect player death" system and the thing you run from it is the decrease of the "Lives" score. You don't even need to sum up all player deaths in a central score.
execute as @a[team=TeamBlue,scores=deaths=1] run scoreboard players remove dummyEntity Lives 1
scoreboard players reset @a[team=TeamBlue] deaths
add a comment |
From my comment:
You need a regular "detect player death" system and the thing you run from it is the decrease of the "Lives" score. You don't even need to sum up all player deaths in a central score.
execute as @a[team=TeamBlue,scores=deaths=1] run scoreboard players remove dummyEntity Lives 1
scoreboard players reset @a[team=TeamBlue] deaths
From my comment:
You need a regular "detect player death" system and the thing you run from it is the decrease of the "Lives" score. You don't even need to sum up all player deaths in a central score.
execute as @a[team=TeamBlue,scores=deaths=1] run scoreboard players remove dummyEntity Lives 1
scoreboard players reset @a[team=TeamBlue] deaths
answered Mar 30 '18 at 17:01
Fabian RölingFabian Röling
6,61031340
6,61031340
add a comment |
add a comment |
Thanks for contributing an answer to Arqade!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgaming.stackexchange.com%2fquestions%2f330080%2fhow-to-make-a-score-be-recorded-as-team%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Can't you use a regular "detect death" thing and then reduce the "lives" scoreboard based on that? Something like
execute as @a[team=TeamBlue,scores=deaths=1] run scoreboard players remove dummyEntity Lives 1
and thenscoreboard players reset @a[team=TeamBlue] deaths
? That's the standard way to detect deaths.– Fabian Röling
Mar 30 '18 at 12:35
That seems to work. Thank you for all your help. Also the color is working now. I think the game just needed to be relogged.
– CautiousNinja199
Mar 30 '18 at 15:11