jkaczmar
Member
I am using HasTakenDamage in BD Pro to indicate when an NPC has taken damage. It works great for those NPCs that don't have a shield. If I shoot them in the back, they immediately turn towards the player and start doing their thing. It's not an issue if the player is in front of the NPC because I'm using sight detection.
However, it doesn't work as cleanly with shield as HasTakenDamage doesn't trigger until I've burned through the Shield and actually damaged the character's Health attribute. What's a good way around this so that the character reacts when their shield has been hit? I know I can do workarounds like CanDetectObject using Sound, but I would much rather have the character react on hit.
However, it doesn't work as cleanly with shield as HasTakenDamage doesn't trigger until I've burned through the Shield and actually damaged the character's Health attribute. What's a good way around this so that the character reacts when their shield has been hit? I know I can do workarounds like CanDetectObject using Sound, but I would much rather have the character react on hit.