sm.areaTrigger.liquidType

Defines the liquid type of an area trigger.

Kind: Constant

Environments: Game

Game

Open the full Game reference

Only has an effect on area triggers with the water proxy type; setting it on any other proxy type has no effect.

Currently only lava has special behavior.

  • water – Water. The default. No special behavior beyond the water proxy buoyancy.
  • chemical – Chemical. No special behavior beyond the water proxy buoyancy.
  • oil – Oil. No special behavior beyond the water proxy buoyancy.
  • lava – Lava. Occasionally destroys submerged shapes. Requires AreaTrigger: setIncludeShapesInContent.

Returns:

Type Description
table The liquid type list.