xumuk
New Member
Posts: 2
|
Post by xumuk on Jul 6, 2014 9:59:33 GMT
Hi, I'm doing a map Dota 2 in minecraft (14w20b) and I had a problem. When a player makes a double kill. sounds with the sound of a double kill, but how to do that it acts on each player? (if the player has already made a double kill, if another player makes no sound) and how to do so if the player killed, all his Mego kills zeroed? Thanks in advance!
|
|
|
Post by kscoutb on Dec 16, 2014 0:53:38 GMT
This is how I personally handle it
First you need two kill count objectives, a "totalkills", "tempkills" and a "streakkills". Once that's done add a scoreboard "streaktimer" that is a dummy objective. Use this command clocked "/scoreboard players add @a(score_streakkills_min=1) streaktimer 1". Have another command clocked that is something like "/scoreboard players set @a(score_streaktimer_min=12,score_streakkills_min=1) streakkills 0". Then clock "/scoreboard players set @a(score_tempkills_min=1) streaktimer 0" then immediately after "scoreboard players set @a(score_tempkills_min=1) tempkills 0". Then of course run your commands of choice that play the sound or whatever happens when the reach a certain kill streak score. I hope it helps any questions feel free to respond to me here
|
|