I am trying to log a hamsandwich function, but not just for one specific entity...for ALL entities. Just like I would do for a fakemeta forward, FM_ForwardName.
I have tried using "*" for the entity parameter, but it doesn't seem to work
Code:
// This works fine
RegisterHam( Ham_TakeDamage, "player", "hook_TakeDamage" );
// This doesn't
RegisterHam( Ham_TakeDamage, "*", "hook_TakeDamage" );
The first of the two will carry on to my function and echo the TakeDamage event. The second of the two does not. I only used TakeDamage as an example because I knew it would work normally.
Is there a way to bypass the entity parameter and do it for all entities?
__________________