Bots attacking on death, not sure if bug or feature.

Author Topic: Bots attacking on death, not sure if bug or feature.  (Read 1317 times)

All my bots if using melee weapons will continue to attack if you go near them when they are on the ground dead.

I'm not sure if this is even a bug or feature and console isn't showing up any errors.

I mean I personally like how they attack while laying down dying but if it's a bug I'd like to know.

do you have any addons modifying death behavior?
like a downed mod or something
this doesn't sound normal

do you have any addons modifying death behavior?
like a downed mod or something
this doesn't sound normal

None of that.

This is normal. The loop to still goes when the bot state is "dead" - someone forgot to put that check in there.

I kind of remember bots swinging swords wildly on death, but not all the time
I thought it was an addon doing it

I kind of remember bots swinging swords wildly on death, but not all the time
I thought it was an addon doing it
Yea I thought at first too but when I developed my RPG back in 2013 with bot holes, they were still holding the trigger even on death, got pretty annoying when killing a super high level bot and he ends up 1 hitting you when he was actually dead.

onBotDeath > Bot > SetBotPowered > Off
onBotSpawn > Bot > SetBotPowered > On


stuffty workaround but that's the best thing I can think of other than editing the add-on.