Quote:
Originally Posted by Shattered Heart Lynx
If I recall correctly if you register it on monster_headcrab, it will register on every entity derived from CBaseMonster.
|
I believe you want "linked to" here, not "derived from" as it can be misleading. By saying "derived from CBaseMonster" one could think that every class that derives from CBaseMonster will have its virtual functions hooked too, which is not the case.
For instance,
CSquadMonster and
CCycler have their own virtual tables even though they derive from CBaseMonster.
Just to make things clear.