Rectangular Trigger
:
lower left corner:
x1
y1
upper right corner:
x2
y2
low z (optional)
high z (optional)
This defines where the
lower left corner is (x1/y1)
and where the
upper right corner is (x2/y2)
of a trigger area. It's the same as a radiustrigger otherwise. This is most useful to place a thin trigger area in front of a door, or some place you need a wide but narrow trigger area (since radiustriggers are circular, and one that you need to cover a wide area covers a lot of unnecessary space).
NOTE: close a rect_trigger with 'end_radiustrigger', just like a normal radiustrigger.
It's best to use your map editor to determine the exact points for the X and Y values you want (most map editors show the grid location in real time).
The low and high z values are to create a "3d" trigger -one that can be walked over or under without being triggered. The low z must be a value below high z (you cannot invert the low and high z values).