[MC-12175] /testfor <Dummy Player> not working Created: 17/Mar/13 Updated: 24/Mar/13 Resolved: 17/Mar/13 |
|
| Status: | Resolved |
| Project: | Minecraft: Java Edition |
| Component/s: | None |
| Affects Version/s: | Minecraft 1.5 |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Nick Donaldson | Assignee: | Unassigned |
| Resolution: | Invalid | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Windows 7 PC |
||
| Confirmation Status: | Unconfirmed |
| Game Mode: | Creative |
| Description |
|
After creating a "Dummy Player" by doing /scoreboard players set Blue Lives 30 I cannot use the /testfor command to check its score. /testfor Blue[score_Lives=0] always outputs false. |
| Comments |
| Comment by Nick Donaldson [ 24/Mar/13 ] |
|
Yeah i could but it would be good to have a way to keep track of a score for a team not an individual player for pvp maps and stuff. |
| Comment by Anon Ymus [ 22/Mar/13 ] |
|
You can just set the counter on your own player, can't you? |
| Comment by Nick Donaldson [ 22/Mar/13 ] |
|
Is there any way to test for a player that does not exist. |
| Comment by Kumasasa [ 22/Mar/13 ] |
|
You can either use a username or a target selector. This is invalid: /testfor Blue[score_lives=0] This is valid: /testfor @p[score_lives=0] |
| Comment by Nick Donaldson [ 22/Mar/13 ] |
|
Creating Dummy Player Command /scoreboard players set Blue Lives 30 Test Dummy Player Lives Command /testfor Blue[score_lives=0] PS: The player "Blue" is NOT on the server but command blocks enable me to create this player for "Dummy" purposes |
| Comment by Kumasasa [ 20/Mar/13 ] |
|
Please attach the command that testing commandblock. |
| Comment by Nick Donaldson [ 20/Mar/13 ] |
|
No, you don't get what I'm saying with the /scoreboard command can create a player that does not actually exist. The player called "Blue" is not actually on the server but you can still make it show up on the scoreboard. But when i try to /testfor this "Dummy Player" it always returns false. |
| Comment by Kumasasa [ 17/Mar/13 ] |
|
You can either use a username or a target selector. testfor @p[score_Lives=10] |