Difference between revisions of "Cansee" - EDukeWiki

# Difference between revisions of "Cansee"

From EDukeWiki

Revision as of 11:57, 4 May 2009 (view source) One (talk | contribs) ← Older edit | Latest revision as of 21:25, 18 January 2011 (view source) TX (talk | contribs)
Line 1: | Line 1:
| '''cansee''' <x1> <y1> <z1> <sect1> <x2> <y2> <z2> <sect2> <returnvar> |  | '''cansee''' <x1> <y1> <z1> <sect1> <x2> <y2> <z2> <sect2> <returnvar>
− | Returns 1 if there is a line of sight between the two points. | + | Returns 1 if there is a clear line of sight between the two points, otherwise returns 0 if obstructed by a sector, wall or sprite.
| [[Category:EDuke32 specific commands]] |  | [[Category:EDuke32 specific commands]]
| [[Category:Gamevar manipulation]] |  | [[Category:Gamevar manipulation]]

## Latest revision as of 21:25, 18 January 2011

cansee <x1> <y1> <z1> <sect1> <x2> <y2> <z2> <sect2> <returnvar>

Returns 1 if there is a clear line of sight between the two points, otherwise returns 0 if obstructed by a sector, wall or sprite.

Retrieved from "http://wiki.eduke32.com/w/index.php?title=Cansee&oldid=9294"
Categories:

- EDuke32 specific commands
- Gamevar manipulation