1
I need help W/ Advanced Scoreboard Logic
So I am currently making a COD Style Zombies map, using the scoreboard dummy command as a money system. I want it so, you can only buy a item if you have atleast the amount the item is sold for. i have tried a few things. and it worked for a while but it broke and will not work. i used this command:
scoreboard players remove @p[score_Money_min=800] Money 800
i donot know what happened but i now cannot get it to work, the signal passes right through, and will not take any money at all.
if someone could help that would be super-uber fantastic.
Thanks, -Roadkill
scoreboard players remove @p[score_Money_min=800] Money 800
i donot know what happened but i now cannot get it to work, the signal passes right through, and will not take any money at all.
if someone could help that would be super-uber fantastic.
Thanks, -Roadkill
Create an account or sign in to comment.
5
1
here's how i'd probably do it.
Scoreboard objectives list
- Money - dummy (your current cash)
- KillCheck - playerKillCount (This will be 0 for everyone, then go up 1 for each kill)
Then you need a clock running that pings the following command blocks...
scoreboard players add @a[score_KillCheck_min=1] Money 50
scoreboard players remove @a[score_KillCheck_min=1] KillCheck 1
Each time a player gets a kill, their KillCheck goes up by 1. Each time the clock pings, it detects people with a KillCheck of 1 or more, and gives them 50 money then reduces their KillCheck by 1. This also covers say splash potions that kill more than one person, as players with a KillCheck of 2 or more will get 50 for each kill they got.
This method doesn't require complicated testfor commands and is limitless. Just need to make sure the clock is running quick. And you can turn off the system just by turning off the clock.
Scoreboard objectives list
- Money - dummy (your current cash)
- KillCheck - playerKillCount (This will be 0 for everyone, then go up 1 for each kill)
Then you need a clock running that pings the following command blocks...
scoreboard players add @a[score_KillCheck_min=1] Money 50
scoreboard players remove @a[score_KillCheck_min=1] KillCheck 1
Each time a player gets a kill, their KillCheck goes up by 1. Each time the clock pings, it detects people with a KillCheck of 1 or more, and gives them 50 money then reduces their KillCheck by 1. This also covers say splash potions that kill more than one person, as players with a KillCheck of 2 or more will get 50 for each kill they got.
This method doesn't require complicated testfor commands and is limitless. Just need to make sure the clock is running quick. And you can turn off the system just by turning off the clock.
1
Thats not a bad idea, Ill give it a try later, when i get some free time. Thankyou though. this sounds good, here is a link to the map im working on. CHECK IT!-
http://www.planetminecraft.com/project/ ... nsaneepic/
Thanks..-Roadkill
http://www.planetminecraft.com/project/ ... nsaneepic/
Thanks..-Roadkill
1
Google it...
1
Has the actual scoreboard been taken off/deleted?
1
I actually solved that problem, but now im facing new waters and still need help.
see in my map i want it so, every time you get a kill you get 50$-100$. but
im not sure how to do this, id imagine it has to do with killcounts, but not sure what to do to make it work...any ideas?
see in my map i want it so, every time you get a kill you get 50$-100$. but
im not sure how to do this, id imagine it has to do with killcounts, but not sure what to do to make it work...any ideas?