Hey, Can someone help me with a vampire creation which adds a vampire and if you get killed by a vampire you will turn in to one. But I have a problem I can't figure out how to detect if a player has been killed by a vampire I tried making a team which I would put the vampire on (i'm just using normal mobs right now and not doing killed by zombie or something as that wouldn't work for a custom mob) and adding the color dark_red to it. And using scoreboard objectives to check killed by team dark_red. Can some one try to get this to work so I can detect if a player is killed by a Vampire I don't care how you do it
Commands:
/team add Vampire Vampires are on this team (for mulitplayer I want players to be able to turn other players in to vampires
/team modify Vampire color dark_red (So next thing would work)
/scoreboard objectives add Vampire killedByTeam.dark_red (Scoreboard should detect if you are killed by a mob or player on vampire team ore dark red team)
/scoreboard objectives setdisplay sidebar Vampire (I can see vampire scoreboard)
/team join Vampire @e[type=(mob)] (mobs are on the vampire team)
But These Commands don't work
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Hey, Can someone help me with a vampire creation which adds a vampire and if you get killed by a vampire you will turn in to one. But I have a problem I can't figure out how to detect if a player has been killed by a vampire I tried making a team which I would put the vampire on (i'm just using normal mobs right now and not doing killed by zombie or something as that wouldn't work for a custom mob) and adding the color dark_red to it. And using scoreboard objectives to check killed by team dark_red. Can some one try to get this to work so I can detect if a player is killed by a Vampire I don't care how you do it
Commands:
/team add Vampire Vampires are on this team (for mulitplayer I want players to be able to turn other players in to vampires
/team modify Vampire color dark_red (So next thing would work)
/scoreboard objectives add Vampire killedByTeam.dark_red (Scoreboard should detect if you are killed by a mob or player on vampire team ore dark red team)
/scoreboard objectives setdisplay sidebar Vampire (I can see vampire scoreboard)
/team join Vampire @e[type=(mob)] (mobs are on the vampire team)
But These Commands don't work