Cansee: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
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 20: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.