ProtoFlux:On Destroying: Difference between revisions

From Resonite Wiki
Create On Destroying ProtoFlux Node Page
 
Style and description update.
 
(One intermediate revision by one other user not shown)
Line 8: Line 8:
|}}
|}}


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.
The '''On Destroying''' node 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 ==

Latest revision as of 21:01, 3 July 2024

On Destroying
Trigger
Events

The On Destroying node 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