TriggerIf

TriggerIf

Fires a color event (and optional message) when the player steps on it, but only when the player possesses the specified flag or item. Persistent — fires every time the condition is met.

Constructor

new TriggerIf()

Source:

Extends

Classes

TriggerIf

Methods

getProxiedTerrain()

Description:
  • Return the terrain being wrapped (TerrainProxy interface).

Source:
Overrides:

onEnterInternal()

Description:
  • Fires the trigger if the player possesses the tested flag or item. Skips silently when the event is already cancelled or when the player lacks the test value.

Source:
Overrides: