I’m currently trying to get an anim based entity (I have no idea how the different types operate when used in garry’s mod), which overrides the hook OnTakeDamage in its init file. It would seem that OnTakeDamage is only called under certain circumstances, from my testing and from gmod 12 it would seem. I’m trying to get my entity to take damage when it is dropped from a height, although the OnTakeDamage hook is not called.
It appears that this hook should be called for many types of damage, as it appears that the provided CTakeDamageInfo parameter supports fall damage (among many other types).
Is my entity just setup incorrectly, is this a bug, or intentional for whatever reason?