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: 1x144x1, 1x72x2, 1x48x3, 1x36x4, 1x24x6, 1x18x8, 1x16x9, 1x12x12, 2x36x2, 2x24x3, 2x18x4, 2x12x6, 2x9x8, 3x16x3, 3x12x4, 3x8x6, 4x9x4, 4x6x6, 8x6x3, 9x8x2, 9x4x4, 12x6x2, 12x4x3

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.