added more info |
m YoshBot moved page ProtoFlux:Destroy Slot to ProtoFlux:DestroySlot: Automated: removing spaces from ProtoFlux namespace |
(No difference)
|
Latest revision as of 23:50, 20 August 2025
Destroy Slot
Slots
Destroys the Provided Instance (Slot) when * (Call) is called.
Inputs
* (Call)
Call to destroy Instance (Slot)
Instance (Slot)
The slot to destroy
PreserveAssets (bool)
Whether or not the assets associated with the provided Instance (Slot) should stay or be instantly discarded
SendDestroyingEvent (bool)
Whether or not to send a destroying event to other nodes like On Destroying
Outputs
Next (Continuation)
Sends an Impulse after * (Call) is called and Instance (Slot) has been destroyed. will not fire if Instance (Slot) is null.
Examples
-
A button that is hooked up to destroy a box and would display "Destroyed!". currently displays "Not pressed.".
-
The result of the code, where the box destroyed and the button displays "Destroyed!".