I'm in the making of another map, and have had some trouble figuring out how to do this:
I want to detect if there's nobody with a certain scoreboard count. For instance: Let's say there's 2 kits you can select- Steve, and alex. Let's also assume that there has to be at least 1 steve (selecting either would add 1 to the corresponding scoreboard). How would I detect if there was no one with the steve kit? thanks!
This is pretty basic stuff (no offence), so I'll just explain the premises:
Assuming that your tracking this with a scoreboard (which you seem to be, and if not I'd highly recommend), you just have to run a testfor seeing whether there is no one in this objective with a score of 1. If you want the exact command, it would be very easy to find. If you can't find it though, just reply and I should be able to come up with it for you.
This is pretty basic stuff (no offence), so I'll just explain the premises:
Assuming that your tracking this with a scoreboard (which you seem to be, and if not I'd highly recommend), you just have to run a testfor seeing whether there is no one in this objective with a score of 1. If you want the exact command, it would be very easy to find. If you can't find it though, just reply and I should be able to come up with it for you.
Hello Everyone!
I'm in the making of another map, and have had some trouble figuring out how to do this:
I want to detect if there's nobody with a certain scoreboard count. For instance: Let's say there's 2 kits you can select- Steve, and alex. Let's also assume that there has to be at least 1 steve (selecting either would add 1 to the corresponding scoreboard). How would I detect if there was no one with the steve kit? thanks!
*sarcastic comment*
*disapproving look*
This is pretty basic stuff (no offence), so I'll just explain the premises:
Assuming that your tracking this with a scoreboard (which you seem to be, and if not I'd highly recommend), you just have to run a testfor seeing whether there is no one in this objective with a score of 1. If you want the exact command, it would be very easy to find. If you can't find it though, just reply and I should be able to come up with it for you.
Good luck.
Lol, Thanks man! Now it seems so simple!
*sarcastic comment*
*disapproving look*