Canseespr: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
canseespr <spriteID1> <spriteID2> <returnvar> | '''canseespr''' <spriteID1> <spriteID2> <returnvar> | ||
The three parameters are [[gamevar]]s. | The three parameters are [[gamevar]]s. |
Revision as of 10:57, 4 May 2009
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.