wiki:iw

This function checks to see if the specified entity is within the given bounding box, which is specified by two points.

Parameters:

  • 1: int entity id - the entity you want to check
  • 2: double x1 - x coordinate of first point.
  • 3: double y1 - y coordinate of first point.
  • 4: double z1 - z coordinate of first point.
  • 5: double x2 - x coordinate of second point.
  • 6: double y2 - y coordinate of second point.
  • 7: double z2 - z coordinate of second point.

Responds:

  • X where X is 't' if true and 'f' if false.

Reports:

  • done when the task completes.

Example:

  • User sends: "iw 512 1 -350 -350 -30 -355 -355 -33"
  • Director replies: "rs iw 512 t"
  • Director replies: "cp iw 512 done"
Last modified 13 years ago Last modified on Aug 1, 2011 1:47:35 PM