Skip to main content

DeleteSwitch

An object that deletes itself when triggered. It is a craftable and spawnable non-flammable solid.

Here is a list of possible sizes that reach the maximum malleability (144) that have integer components: 1x1x144, 1x2x72, 1x3x48, 1x4x36, 1x6x24, 1x8x18, 1x9x16, 1x12x12, 2x2x36, 2x3x24, 2x4x18, 2x6x12, 2x8x9, 3x3x16, 3x4x12, 3x6x8, 4x4x9, 4x6x6

At its default size (2x1x2) it has a durability of 3, at its maximum size it has a durability of 10.

By default, its colour is #ff0000.

It requires 1 Copper and 1 Silicon to be crafted.

Events


Triggered(otherPart)

Fires when the object is triggered and provides a reference to the part that triggered it.

If a Microcontroller indirectly initiated the triggering of an object, it will return the object rather than the Microcontroller, whereas in the case of directly triggering the object (i.e., calling :Trigger, but not TriggerPort), it will return the microcontroller.

The trigger source remains unchanged if the trigger is sent through something such as an Antenna, but will be set to a RemoteControl if one is present along the trigger line.

The otherPart parameter is the source of the trigger signal. It is a PilotObject.