| | 1 | This [[ProtocolZero]] command asks the agent to tell you the [[entityid|entityids]] of every game object it can see within the provided range. It responds once for each entity, and completes after all responses are issued. |
| | 2 | |
| | 3 | '''Parameters:''' |
| | 4 | * 1 float range. Only entities closer than this range are returned. If you provide a non-positive range, the command considers the range infinite. |
| | 5 | |
| | 6 | '''Responds:''' |
| | 7 | * ''X'' for each entity that can be seen, where X is that entity's [[entityid]]. The set of seen entities does not include the quagent itself. |
| | 8 | |
| | 9 | '''Reports:''' |
| | 10 | * ''done'' when the task completes. |
| | 11 | * ''popped'' if popped by [[po]]. |
| | 12 | * ''forgotten'' if deleted by [[fa]]. |
| | 13 | |
| | 14 | '''Example:''' |
| | 15 | * User sends: "n ra 512 800" |
| | 16 | * Bot replies "rs ra 512 2" |
| | 17 | * Bot replies "rs ra 512 144" |
| | 18 | * Bot replies "rs ra 512 145" |
| | 19 | * Bot replies "rs ra 512 146" |
| | 20 | * Bot replies "rs ra 512 147" |
| | 21 | * Bot replies "rs ra 512 148" |
| | 22 | * Bot replies "cp ra 512 done" |