I think there is an issue with the OnHeal Event mentioned on following page, it doesn't get called when I use the health pack even though the health bar increases and character gets healed.
The OnHealthDamage, OnDeath, and even OnObjectImpact events all work and gets called correctly. The only issue is the OnHeal Event even though I have it in the same script. Can you double check that?
Note: Also the example code has couple issues if you like to fix them in the above linked page:
There should be ) instead of } at the end
I think character should be gameObject instead
Health - Opsive
The Health component uses the Attribute Manager to determine how much health or shield the object has left. The Health component is a generic component . . .
opsive.com
The OnHealthDamage, OnDeath, and even OnObjectImpact events all work and gets called correctly. The only issue is the OnHeal Event even though I have it in the same script. Can you double check that?
Note: Also the example code has couple issues if you like to fix them in the above linked page:
C#:
Debug.Log("The object was healed with " + amount + " health."}
C#:
EventHandler.RegisterEvent<Vector3, Vector3, GameObject>(character, "OnDeath", OnDeath);