Is there a way to retrieve a list of all entities in a level? I've created a test level with a custom NPC and a custom Area trigger, so is there some structure that contains pointers to these objects?
Basically, I'm looking to retrieve a boolean from a function inArea(Entity, Area) in the Area class. I have the Area object detecting whether a relevant object is inside or not (for now either the player or the NPC) using inputs/outputs in Hammer, so I need the NPC's think function to be able to retrieve the status of inArea() for each area in the level. In the future, I'll need to retrieve status from a few more custom entities that I'll be adding, so I need to be able to parse all entities in the level (I'll probably bound this to a certain radius around the NPC). Thanks Iain _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders

