Hello, I tried to add Die ability and Block ability to AI agent. But I encountered a bit of confusion.
1, I want to activate Die Abiltiy based on the weapon that kills the character.This is because ,can't use the same group of die animations for all situation, such as being blown up by a bomb, burned by fire, or killed by a sword.So how do I do that?
2, I try to add block ability to AI agent. I add shield component and shield collider component to the sword in AI hand. But it didn't seem to work. I successfully added this ability to the character controlled by the player in the same way. But the difference is that the player character integrates UIS, while the AI character does not. So what could be the problem?
Thanks!!
1, I want to activate Die Abiltiy based on the weapon that kills the character.This is because ,can't use the same group of die animations for all situation, such as being blown up by a bomb, burned by fire, or killed by a sword.So how do I do that?
2, I try to add block ability to AI agent. I add shield component and shield collider component to the sword in AI hand. But it didn't seem to work. I successfully added this ability to the character controlled by the player in the same way. But the difference is that the player character integrates UIS, while the AI character does not. So what could be the problem?
Thanks!!