This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
4rpl:commands:getunits [2021/11/18 20:00] – Grabz | 4rpl:commands:getunits [2023/12/01 07:00] – [Description] Kalli | ||
---|---|---|---|
Line 16: | Line 16: | ||
: a floating point number that is the maximum distance from startPos. | : a floating point number that is the maximum distance from startPos. | ||
? isSquare: | ? isSquare: | ||
- | : a boolean. It means to check in a square rather than a circle around startPos. For 3D checks, the vertical displacement is also checked (so the range is effectivly a cube rather than a sphere). | + | : a boolean. It means to check in a square rather than a circle around startPos. For 3D checks, the vertical displacement is also checked (so the range is effectivly a cube rather than a sphere). :!: __Bug__: if isSquare is true, then the startPos vector will ignore the Z-value. |
? is3D: | ? is3D: | ||
: a boolean. It determines if a true 3d distance is used for range, or if only the X and Z components (2D) distance calculation is used. | : a boolean. It determines if a true 3d distance is used for range, or if only the X and Z components (2D) distance calculation is used. |