ProtoFlux:On Destroying: Difference between revisions

From Resonite Wiki
Create On Destroying ProtoFlux Node Page
 
get rid of bogus input
Line 9: Line 9:


On Destroying is a ProtoFlux node that sends an impulse out of Trigger whenever the node is marked for destruction. This will not preserve [[Impulses#ASync|Async]] tasks, as since those create delays they will be destroyed before execution of the task finishes.
On Destroying is a ProtoFlux node that sends an impulse out of Trigger whenever the node is marked for destruction. This will not preserve [[Impulses#ASync|Async]] tasks, as since those create delays they will be destroyed before execution of the task finishes.
== Inputs ==
=== OnlyHost ([[Type:Bool|bool]]) ===
Checks the event on the host rather than on everyone.


== Outputs ==
== Outputs ==

Revision as of 18:35, 17 February 2024

On Destroying
Trigger
Events

On Destroying is a ProtoFlux node that sends an impulse out of Trigger whenever the node is marked for destruction. This will not preserve Async tasks, as since those create delays they will be destroyed before execution of the task finishes.

Outputs

Trigger (Call)

Sends an Impulse when the node is marked for destruction which may include all the rest of the code, but nothing is destroyed yet.

Examples