Fandom

Hammerwatch Wiki

RectangleShape

111pages on
this wiki
Add New Page
Comments0 Share

RectangleShape

RectangleShapes define a rectangular area to be used with other script elements.

FieldsEdit

RectangleShapes have three fields:

  • Width: Decimal number. Horizontal dimension of the shape.
  • Height: Decimal number. Vertical dimension of the shape.
  • ActorTypes: Check-boxes (Player, Enemy, Allied, Neutral). Determine what types of entities trigger script elements attached to this shape.

TipsEdit

Mainly used with an AreaTrigger script to define the area of a button to be pressed.

Also used with LevelExitArea to define the exit of a level, DangerArea, ShopArea, and AllPlayersAreaTrigger.

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.