Cansee: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
No edit summary
 
No edit summary
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
'''cansee''' <x1> <y1> <z1> <sect1> <x2> <y2> <z2> <sect2> <returnvar>


cansee x1 y1 z1 sect1 x2 y2 z1 sect 2 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.


Returns 1 if there is a line of sight between the two points.
[[Category:EDuke32 specific commands]]
[[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.