I want to create an entity that can count the number of monsters that died on a map (monsters that the player has killed or that have been killed by the environment/another NPC). Its name would be
It is not necessary to distinguish which monsters died (monster_headcrab, monster_alien_slave, monster_osprey, etc.). This entity must also be able to count the deaths of monsters that have been generated by the
It is, so far, the most ambitious plan that I have proposed in terms of Half-Life programming.
I was wondering if you can give me a hand in guiding me on how to create such an entity.
I want it to be an entity that shows a text on the screen indicating the number of dead monsters (as can be achieved achieved by