Hello guys, I know the basics of the Scoreboard commands, but I ran into a problem in my map...
I am using an offline player called Diamond to store the points scored by the team Diamond. Well, I was wondering: Can I "testfor" scores from these offline guys?... So I did this:
In this case, Diamond have the score "type" set up to 2, and I need to know when is Diamond going to get to 100 points... I basically need a system that increases the points until 100 points of value. Please help me how to fix this
Hello guys, I know the basics of the Scoreboard commands, but I ran into a problem in my map...
I am using an offline player called Diamond to store the points scored by the team Diamond. Well, I was wondering: Can I "testfor" scores from these offline guys?... So I did this:
In this case, Diamond have the score "type" set up to 2, and I need to know when is Diamond going to get to 100 points... I basically need a system that increases the points until 100 points of value. Please help me how to fix this
-DirtTNT, creator of a PvP future map.
Instead of relying on an offline player, you may just create a 'dummy' scoreboard for each of the players. When giving points to a certain team just filter it out with team parameters. After that run 2 (or how many teams you have) /testfor (of course including filters for each team) clocks to check if any team has 100 points, for example:
Testfor for first clock:
/testfor @a[team=Diamond,score_Points_min=100]
Testfor for second clock:
/testfor @a[team=Gold(or any other team),score_Points_min=100]
The point is that every player has to have the same scoreboard, as it will be close to impossible having a scoreboard and keeping track for each of the teams.
Instead of relying on an offline player, you may just create a 'dummy' scoreboard for each of the players. When giving points to a certain team just filter it out with team parameters. After that run 2 (or how many teams you have) /testfor (of course including filters for each team) clocks to check if any team has 100 points, for example:
Testfor for first clock:
/testfor @a[team=Diamond,score_Points_min=100]
Testfor for second clock:
/testfor @a[team=Gold(or any other team),score_Points_min=100]
The point is that every player has to have the same scoreboard, as it will be close to impossible having a scoreboard and keeping track for each of the teams.
Thanks a lot, bro! It really did help me.
-DirtTNT
I am using an offline player called Diamond to store the points scored by the team Diamond. Well, I was wondering: Can I "testfor" scores from these offline guys?... So I did this:
In this case, Diamond have the score "type" set up to 2, and I need to know when is Diamond going to get to 100 points... I basically need a system that increases the points until 100 points of value. Please help me how to fix this
-DirtTNT, creator of a PvP future map.
Instead of relying on an offline player, you may just create a 'dummy' scoreboard for each of the players. When giving points to a certain team just filter it out with team parameters. After that run 2 (or how many teams you have) /testfor (of course including filters for each team) clocks to check if any team has 100 points, for example:
Testfor for first clock:
/testfor @a[team=Diamond,score_Points_min=100]
Testfor for second clock:
/testfor @a[team=Gold(or any other team),score_Points_min=100]
The point is that every player has to have the same scoreboard, as it will be close to impossible having a scoreboard and keeping track for each of the teams.
Thanks a lot, bro! It really did help me.
-DirtTNT
Make sure to vote up on my post (green little square on the bottom right corner of the post).