FANDOM


ObjectEventTrigger

ObjectEventTriggers are trigger script elements that will listen for a particular condition to be met by one or more linked objects.

FieldsEdit

The ObjectEventTrigger has two fields.

  • Event: Determines when the trigger's attached scripts will run. This field is a dropdown with the following options:
Events Condition
Hit A player attacks the object.
Destroyed Characters are slain, items are collected, or objects are otherwise removed from the level.
StateChanged The object changes state.
  • Object: Points to an object for the trigger to listen to.

TipsEdit

Used in conjunction with ChangeDoodadState and Counters for breakable walls.

Can be used to make events based on interactions such as making a character appear to talk when hit or cause enemies to spawn when a key is collected.

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.