I have a situation. My NPC has immunity to a DamageType. In function OnTakeRadialDamage i must compare DamageType, that NPS get and DamageType, th witch NPS has immunity. Attetion! I’m codding on C++, but immunity DamageType is set in BP. How can i crack this question?
The immunity damage type would have to either a) be a c++ variable (which you could still configure in a blueprint) or b) have a function that you can call from native and implement in blueprint that can either return the value or do the comparison you need.