Int E0/AX=0002h

lup.gif ldown.gif Interrups Categories Contents

rbline.gif

PCROBOTS v1.41 - SCAN - SCAN FOR OTHER ROBOTS IN THE GIVEN DIRECTION

AX = 0002h
BX = direction (0-359 degrees)
CX = resolution (0-45 degrees)

Return:
AX = status FFFFh if nothing detected else robot ID (0-19) BX = range to detected robot

Notes: The scan searches within CX degrees to either side of the specified direction. The scanner will see right through walls, but shells will not pass through walls. This call also terminates the current robot's turn

See Also: AX=0000h - AX=0001h - AX=0003h

Category: Games - Int E0h - P

rbline.gif

lup.gif ldown.gif Interrups Categories Contents