1
>>>NEED HELP URGENT<<<
Hello guys, im making an adventure map called Eternal Dawn, and the first boss is going to be called Lamaroth. I have everything set about him (he is a skeleton) but I need a redstone signal sent out when he dies, please help!
I tried /testfor like /testfor @e [11,237,-45,60.type=Skeleton] but it says that its invalid?! Help! PLEASE ;(
I tried /testfor like /testfor @e [11,237,-45,60.type=Skeleton] but it says that its invalid?! Help! PLEASE ;(
Create an account or sign in to comment.
3
1
Davekillerish is right but you can test for a skeleton with 0 heath within a radius
1
If he is the first skeleton you fight in the game you could also set a scoreboard to killed entities skeletons and when it hits 1 a signal is sent out with
/testfor @a[score_min_namehere=1]
namehere being the scoreboard value.
and your command is messed up,
" /testfor @e [11,237,-45,60.type=Skeleton]"
/testfor @a[score_min_namehere=1]
namehere being the scoreboard value.
and your command is messed up,
" /testfor @e [11,237,-45,60.type=Skeleton]"
1
If you want to simply testfor when he dies, you can use the name= parameter inside a player selector:
This will output true as long as an entity named Lamaroth is alive. Just invert the output, so that it will only output true when he is dead. Note that in my command, there is no space between @e and in the brackets, like there was in your command. Putting in a space will likely cause it to throw an error.
Another note about the name= parameter, the name can only be one word, with no spaces. There are other ways to testfor mobs with a space in the name involving the scoreboard, but just using name= should serve your purposes.
testfor @e[name=Lamaroth]
This will output true as long as an entity named Lamaroth is alive. Just invert the output, so that it will only output true when he is dead. Note that in my command, there is no space between @e and in the brackets, like there was in your command. Putting in a space will likely cause it to throw an error.
Another note about the name= parameter, the name can only be one word, with no spaces. There are other ways to testfor mobs with a space in the name involving the scoreboard, but just using name= should serve your purposes.