EmeraldAI Block Integration

Hi,

I've been working on the Third Person Character Controller and integrating it with Emerald AI. I've got them integrated for damage and detection, but is there a way to get blocking with a shield or weapon hooked up? I've looked around the APIs, and there is a StartBlocking method, but I think that only gets invoked on an actual hit. Has anyone here worked with that?

Regards
 
Ok, so I did find a few things from past posts. It looked like I can look up the abilities to see if "Aim" is active. That handled the basic functionality that I wanted. I did that by adding the following to Magique's integration.


Code:
            var characterLocomotion = GetComponentInParent<UltimateCharacterLocomotion>();
            var aimAbility = characterLocomotion.GetAbility<Aim>();
           
            if (tpcHealth && !aimAbility.IsActive)

Reference post:

 
Top