ig.

EntityDestructable

new EntityDestructable()

Entity that is destroyed when triggered by a trigger.
- this entity can be destroyed either through another trigger or by taking damage
- this entity cannot be destroyed through collision

Author:
  • Collin Hover - collinhover.com
Source:
See:

activated

Destructable should not activate automatically.

Default Value:
  • false
Source:

collides

Destructable should collide and block other entities, but not move.

Default Value:
  • fixed
Source:

spawnCountMax

Default Value:
  • 10
Source:

spawningEntity

Destructable spawns ig.EntityParticleDebris when killed.

Source:

spawnSettings

Destructable spawned entity should not be sticky.

Source:

triggerable

Destructable should not activate automatically.

Default Value:
  • false
Source:

activate()

Destructable is killed on activate.

Source:

initTypes()

Destructable checks for characters also.

Source:

kill()

Destructable is automatically triggered when killed to spawn debris.

Source: