EintityVisible may be used when the walls etc that may obscure the view are pickable:
entitypickmode map,2
Of course, everything must be pickable, the player too.
additionally, to make sure the enemy won't see the player when he sneakes behind his back etc, use this code:
http://www.blitzbasic.com/codearcs/codearcs.php?code=532
entitypickmode map,2
Of course, everything must be pickable, the player too.
additionally, to make sure the enemy won't see the player when he sneakes behind his back etc, use this code:
http://www.blitzbasic.com/codearcs/codearcs.php?code=532