EntityVisible
True if one entity can see another.
EntityVisible ( src_entity,dest_entity )
Parameters
- src_entity
- the entity looking.
- dest_entity
- the entity to look at.
Description
Tells you whether one entity could see another: 1 if no obscuring entity, set with EntityPickMode, is in the way, 0 if one is. Good for checking whether enemies can see the player.
