Looking for Line of Sight...

kombat

Spammer
Joined
Feb 25, 2007
Messages
66
Reaction score
0
Points
0
just looking for the snip of code that will check line of sight,cheers.
 
oh

will caution that method doesn't always return what you're looking for, for example it may return TRUE, that you do have LoS on something, but in fact when trying to cast, it says you cannot see your target due to a tree, something random in the way, geography, etc. The opposite is also true. It may return FALSE but you're completely capable of casting on your target from your current location.

Just a heads up.