TriggerZone

Properties

Vector3 PositionOffsetPosition offset of the TriggerZone
number SizeXThe size of the TriggerZone on the X axis
number SizeYThe size of the TriggerZone on the Y axis
number SizeZThe size of the TriggerZone on the Z axis
number MaxCallsHow many times this TriggerZone can be triggered
number SeparateMaxCallsWhether players should have separate MaxCalls
bool PlayerTriggerWhether players can trigger this TriggerZone
bool BombTriggerWhether bombs can trigger this TriggerZone
bool ExplosionTriggerWhether explosions can trigger this TriggerZone
bool TriggerExplosionTriggerWhether explosions spawned by triggers or scripts can trigger this TriggerZone
bool RunOnEveryEnterLeaveWhether the OnEnter and OnLeave actions should be ran every single time a player enters or leaves the TriggerZone, or only when a player enters when there are no other players inside it, or when the last player leaves
bool DontApplyPositionOffsetSpecial, made to be passed using ModTile. Prevents the TriggerZone from moving to its original position upon using ModTile

Actions

ResetStops the TriggerZone if its currently executing any actions and resets how many times it has been triggered