We noticed a lack of functions that allow you to check wheter an entity is being viewed, what the entity can view and team related view-ability.
Currently we have BaseNPC.CanEntityBeSeenByMyTeam(handle hEntity), but this lacks functionality.
We would like to suggest the following functions
The first could also replace the already implemented function, since it can be implemented to also provide the functionality "CanEntityBeSeenByMyTeam" provides.
The second function will provide a list of entities that see the specified entity.
The third function will provide a list of entities that this entity can see.
Currently we have BaseNPC.CanEntityBeSeenByMyTeam(handle hEntity), but this lacks functionality.
We would like to suggest the following functions
- bool CDOTA_BaseNPC:CanBeSeenByTeam( teamID )
- table CDOTA_BaseNPC:GetSeenEntities()
- table CDOTA_BaseNPC:GetEntitiesThatSeeMe()
The first could also replace the already implemented function, since it can be implemented to also provide the functionality "CanEntityBeSeenByMyTeam" provides.
The second function will provide a list of entities that see the specified entity.
The third function will provide a list of entities that this entity can see.
Comment