Bounding Box - X is Within (Condition) — Lusk

Addon: Lusk · Category: Condition · Since: 1.2

Syntax

%vectors/locations/boundingboxes% (is|are) (within|in[side [of]]) [[bounding[ ]]box] %boundingbox%

Description

Whether or not a Vector, Location, or Bounding Box is within a Bounding Box.

Vector and Location = Checks if the Bounding Box contains a specified position. Bounding Box = Checks if the Bounding Box fully contains a Bounding Box.

Examples

if location of player is within bounding box of player:

View source