ProtoFlux:OnDuplicate: Difference between revisions

From Resonite Wiki
Create On Duplicate ProtoFlux Node Page
 
added a note regarding issue #4948, along with a solution to the problem. May need to be removed if this is fixed in the future.
Line 9: Line 9:


On Duplicate is a ProtoFlux node that sends an impulse out of Trigger whenever the node is duplicated. This will fire on the duplicate of the code, and not the original copy.
On Duplicate is a ProtoFlux node that sends an impulse out of Trigger whenever the node is duplicated. This will fire on the duplicate of the code, and not the original copy.
Since this node may send an impulse before the rest of the protoflux is loaded, certain functions such as [[Protoflux:Value_Smooth_Lerp|Smooth Lerp]] may not work as intended. If you have a use case relying on interpolation, consired adding a small [[ProtoFlux:Delay|Delay]], or using the [[Protoflux:On_Start|On Start]] node instead.


== Outputs ==
== Outputs ==

Revision as of 08:55, 19 July 2025

On Duplicate
Trigger
Events

On Duplicate is a ProtoFlux node that sends an impulse out of Trigger whenever the node is duplicated. This will fire on the duplicate of the code, and not the original copy.

Since this node may send an impulse before the rest of the protoflux is loaded, certain functions such as Smooth Lerp may not work as intended. If you have a use case relying on interpolation, consired adding a small Delay, or using the On Start node instead.

Outputs

Trigger (Call)

Sends an Impulse when the node is duplicated.

Examples