Canseespr

From EDukeWiki
Revision as of 15:28, 29 May 2006 by TX (talk | contribs)
Jump to navigation Jump to search

canseespr <spriteID1> <spriteID2> <returnvar>

The three parameters are gamevars.

canseespr sets <returnvar> to 1 if the sprite with ID <spriteID1> has a line of sight with the sprite with ID <spriteID2>, otherwise <returnvar> is set to 0.