Handle different damage types
I want to create multiple damage types (i.e normal damage, poison, slowdown, stun, fear...), but I don't know what is the best way to do it. I have different functions in which I have the implementation of the different damage types, but I don't know where call them, neither how works the parameter DamageType-DamageEvent. I also read about bind delegates with OnTakeAnyDamage, but I cannot make it run.
Can someone explain what is the best way to handle that different types of damage?
DamageType it is class that used to handle type of damage that was applied to some actor. For example you can have different damage types for your weapon (simple bullets, incendiary bullets, etc.) This function pass your damage type class to the TakeDamage function through EventDamage parameter.
Best regards, Gleb
answered Dec 10 '14 at 01:07 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here