Hi, I want to hook entity outputs e.g. form an env_fire the OnExtinguished output.
How I think it could work is to check the entitylist for env_fire's, then the dataDesc for the output (this is what I have done so far and it works great but...) what I had to do now is to detour the output.
The problem is I had to do it with every env_fire in the map, so I am asking is there and easier way to hook entity outputs for one entity class?
Ok after actually looking into an entity I realized that the output in the datamap has nothing to do with function. But is there any way to hook an output? Since sourcemod has this ability it must be possible...
EDIT: To clear this up. What I want to know is when an output is called, to make a counter how often one or all entities fire e.g. the output OnUser1