| | 1 | This function checks to see if the specified entity is within the given bounding box, which is specified by two points. |
| | 2 | |
| | 3 | '''Parameters:''' |
| | 4 | * 1: int entity id - the entity you want to check |
| | 5 | * 2: double x1 - x coordinate of first point. |
| | 6 | * 3: double y1 - y coordinate of first point. |
| | 7 | * 4: double z1 - z coordinate of first point. |
| | 8 | * 5: double x2 - x coordinate of second point. |
| | 9 | * 6: double y2 - y coordinate of second point. |
| | 10 | * 7: double z2 - z coordinate of second point. |
| | 11 | |
| | 12 | '''Responds:''' |
| | 13 | * ''X'' where X is 't' if true and 'f' if false. |
| | 14 | |
| | 15 | '''Reports:''' |
| | 16 | * ''done'' when the task completes. |
| | 17 | |
| | 18 | '''Example:''' |
| | 19 | * User sends: "iw 512 1 -350 -350 -30 -355 -355 -33" |
| | 20 | * Director replies: "rs iw 512 t" |
| | 21 | * Director replies: "cp iw 512 done" |