If AI Sees You

Blitz3D Forums/Blitz3D Beginners Area/If AI Sees You

The EntityVisible command does a linepick from the source entity in the direction it is facing (+z) and returns true if the dest entity is "pickable" and is in front of the source entity.