The Destroyer removes the target object from the world when executed. The Destroyer can also be used to destroy component nodes.
Target | The target object that will be destroyed. |
Execute | Executes the component. |
Enabled | Determines if the component is executable. |
Destroying an object with a button press
Step 1: Spawn a Destroyer. The Destroyer can be a standalone component node or be added directly to the object you want to destroy via it's details menu.
https://wiki.hypehype.com/nodes/action/destroyer/add_destroyer.mp4
Step 2: Set up the Destroyer:
https://wiki.hypehype.com/nodes/action/destroyer/target_destroyer.mp4
Step 3: Add a Button Node and set it to execute the destroyer
https://wiki.hypehype.com/nodes/action/destroyer/add_button_and_link.mp4
Step 4: Test that the button destroys the object
https://wiki.hypehype.com/nodes/action/destroyer/test_destroyer.mp4
Here's a link to the hype that shows how to implement and use the Destroyer node: