ProtoFlux:On Destroy

From Resonite Wiki
Revision as of 18:31, 17 February 2024 by 989onan (talk | contribs) (Create On Destroy ProtoFlux Node Page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
On Destroy
OnlyHost
Trigger
Events

On Destroy is a ProtoFlux node that sends an impulse out of Trigger whenever the node is destroyed. This can sometimes not fire code the way you want, since the code after the node may have already been destroyed. It is better practice to use On Destroying.

Inputs

OnlyHost (bool)

Checks the event on the host rather than on everyone.

Outputs

Trigger (Call)

Sends an Impulse when the node is destroyed.

Examples