ProtoFlux:Local Impulse Timeout: Difference between revisions

From Resonite Wiki
add to category
Sudo-Generic -> Pseudo-generic
 
Line 14: Line 14:
|}}
|}}


Local Impulse Timeout is a ProtoFlux node that when recieving impulses from a specific user in the Trigger ([[Impulses|Call]]) Slot, it will send an impulse out of Next ([[Impulses|Continuation]]). Afterwards, that user will not be able to send more impulses through the node until either Reset ([[Impulses|Call]]) is called or Timeout (Sudo-Generic) time has passed.
Local Impulse Timeout is a ProtoFlux node that when recieving impulses from a specific user in the Trigger ([[Impulses|Call]]) Slot, it will send an impulse out of Next ([[Impulses|Continuation]]). Afterwards, that user will not be able to send more impulses through the node until either Reset ([[Impulses|Call]]) is called or Timeout (Pseudo-generic) time has passed.


This is extremely useful to prevent button spam abuse.
This is extremely useful to prevent button spam abuse.
Line 26: Line 26:
=== Reset ([[Impulses|Call]]) ===
=== Reset ([[Impulses|Call]]) ===


Reset the Timeout (Sudo-Generic) so more impulses from the local user can go out to Next again.
Reset the Timeout (Pseudo-generic) so more impulses from the local user can go out to Next again.


=== Timeout (Sudo-Generic) ===
=== Timeout (Pseudo-generic) ===


How long to prevent the local user from sending impulses through after the first in seconds as a [[Type:Float|float]] or as a [[Type:TimeSpan|TimeSpan]]
How long to prevent the local user from sending impulses through after the first in seconds as a [[Type:Float|float]] or as a [[Type:TimeSpan|TimeSpan]]
Line 38: Line 38:
=== Next ([[Impulses|Continuation]]) ===
=== Next ([[Impulses|Continuation]]) ===


Will send an impulse immediately after Trigger ([[Impulses|Call]]) has been impulsed and Timeout (Sudo-Generic) time has passed since the last impulse from the local user.
Will send an impulse immediately after Trigger ([[Impulses|Call]]) has been impulsed and Timeout (Pseudo-generic) time has passed since the last impulse from the local user.


== Examples ==
== Examples ==

Latest revision as of 18:46, 6 June 2024

Local Impulse Timeout
Trigger
Next
Reset
Timeout
Flow

Local Impulse Timeout is a ProtoFlux node that when recieving impulses from a specific user in the Trigger (Call) Slot, it will send an impulse out of Next (Continuation). Afterwards, that user will not be able to send more impulses through the node until either Reset (Call) is called or Timeout (Pseudo-generic) time has passed.

This is extremely useful to prevent button spam abuse.

Inputs

Trigger (Call)

Trigger the node to attempt to send an impulse out of Next (Continuation).

Reset (Call)

Reset the Timeout (Pseudo-generic) so more impulses from the local user can go out to Next again.

Timeout (Pseudo-generic)

How long to prevent the local user from sending impulses through after the first in seconds as a float or as a TimeSpan

Examples (all): float, TimeSpan

Outputs

Next (Continuation)

Will send an impulse immediately after Trigger (Call) has been impulsed and Timeout (Pseudo-generic) time has passed since the last impulse from the local user.

Examples