Author Topic: OnBotDeath doesn't seem to work if you set the bot's health.  (Read 453 times)

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.

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?

I just came to the same conclusion as you, Skill. I switched the event to:

OnBotAttacked --> Bot --> Kill

It works fine now, thanks.

I just came to the same conclusion as you, Skill. I switched the event to:

OnBotAttacked --> Bot --> Kill

It works fine now, thanks.

Awesome.

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?

I just realized that i was an idiot for saying 'I got nothing' lol

I just realized that i was an idiot for saying 'I got nothing' lol

It's cool, only hardcore grammar national socialists get on your case for that.

Actually it's a logical error, not a grammar error. :cookieMonster:
Along with your post.

inb4 chron is logic national socialist