BoneHeadSpark
Member
So, I have an ability system that can deal damage to things via a raycast. While it works with enemies I've made separately from the Opsive kit, I can't get it to interact with Opsive's health components.
My code is as followed:
"EnemyHealth = Enemy.GetComponent<CharacterHealth>();"
And I get this error from using it:
"Cannot implicitly convert type 'Opsive.UltimateCharacterController.Traits.CharacterHealth' to 'int'"
I've tried other ways to do this, but no luck.
My code is as followed:
"EnemyHealth = Enemy.GetComponent<CharacterHealth>();"
And I get this error from using it:
"Cannot implicitly convert type 'Opsive.UltimateCharacterController.Traits.CharacterHealth' to 'int'"
I've tried other ways to do this, but no luck.