Blockland Forums > Help
OnBotDeath doesn't seem to work if you set the bot's health.
Zenthrox:
I'm using Amade's Bot Mod to make some targets for a shooting range, and when they spawn, I have their health set to "1".
I set the events up so when I kill a bot, a scoreboard increases the player's score by 1. However, it will only increase the score if I do not set the bot's health.
Is there any way to get around this? I can't figure out the problem here.
skill4life:
I got nothing.
Do you really need to have it so its when it kills it? Isn't there a way to make it so instead of OnBotDeath its OnBotAttacked or whatever that event was?
Zenthrox:
I just came to the same conclusion as you, Skill. I switched the event to:
OnBotAttacked --> Bot --> Kill
It works fine now, thanks.
skill4life:
--- Quote from: Zenthrox on November 18, 2009, 04:31:40 PM ---I just came to the same conclusion as you, Skill. I switched the event to:
OnBotAttacked --> Bot --> Kill
It works fine now, thanks.
--- End quote ---
Awesome.
--- Quote from: skill4life on November 18, 2009, 04:28:59 PM ---I got nothing.
Do you really need to have it so its when it kills it? Isn't there a way to make it so instead of OnBotDeath its OnBotAttacked or whatever that event was?
--- End quote ---
I just realized that i was an idiot for saying 'I got nothing' lol
Zenthrox:
--- Quote from: skill4life on November 18, 2009, 04:32:48 PM ---I just realized that i was an idiot for saying 'I got nothing' lol
--- End quote ---
It's cool, only hardcore grammar national socialists get on your case for that.