Fandom

Hammerwatch Wiki

AreaTrigger

111pages on
this wiki
Add New Page
Comments0 Share
AreaTrigger

AreaTrigger by Kavex

AreaTriggers are trigger script elements that listen for activity in an area.

FieldsEdit

The AreaTrigger has three fields.

  • Event: Determines when the trigger occurs. This field is a dropdown with the following options:
Events Conditions
OnEnter An actor enters the linked shape
OnLeave An actor exits the linked shape
OnEnterOrLeave An actor enters or exits the linked shape
  • Shape: The shapes in which to listen for actors.
  • ActorTypes: A set of checkboxes that filter conditions by the type of character: Player, Enemy, Allied, or Neutral.

TipsEdit

Mainly used for setting up buttons for the player to push.

Can be used to script ambushes, or to detect when enemies reach a certain point.

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.