I am making a map that has 4 people in it. If there is one person left who has not died. I want it to say something. I have the commands testing for the player who is in gamemode 3 (which means they died) and on a specific team. That goes into a comparator with a torch. I just don't know how to test if 1 torch is on or if there is a redstone way to do it.
Theres lots of ways to do this, just the first simple idea that popped into mind.. each time a torch goes off invert the signal so it activates a dropper that puts an item into another one. Use a comparator to detect when three items are in the dropper, when this happens a gate is opened that allows the remaining line to pass on and do what you want with that.
Rollback Post to RevisionRollBack
Formerly Tpnoll
This is my new forum account, why did I change it? The world will never know.
Have a command block that continuously runs "testfor @a[m=3]", a comparator that takes signals from the command block, a three-meter wire coming from the comparator, and whatever command you want to execute at the end of the wire.
Rollback Post to RevisionRollBack
If you follow your heart, it will only lead to your arteries.
I am making a map that has 4 people in it. If there is one person left who has not died. I want it to say something. I have the commands testing for the player who is in gamemode 3 (which means they died) and on a specific team. That goes into a comparator with a torch. I just don't know how to test if 1 torch is on or if there is a redstone way to do it.
Theres lots of ways to do this, just the first simple idea that popped into mind.. each time a torch goes off invert the signal so it activates a dropper that puts an item into another one. Use a comparator to detect when three items are in the dropper, when this happens a gate is opened that allows the remaining line to pass on and do what you want with that.
Formerly Tpnoll
This is my new forum account, why did I change it? The world will never know.
Contact me at [email protected]
I went ahead and built it because I have nothing better to do, it could be made more compact but it works.
Note: the three items in the droppers have to be swords
also, you have to reset the items after each use via a clock or manually.
Formerly Tpnoll
This is my new forum account, why did I change it? The world will never know.
Contact me at [email protected]
Have a command block that continuously runs "testfor @a[m=3]", a comparator that takes signals from the command block, a three-meter wire coming from the comparator, and whatever command you want to execute at the end of the wire.
If you follow your heart, it will only lead to your arteries.