ProtoFlux:Local Impulse Timeout

From Resonite Wiki
Revision as of 19:31, 17 February 2024 by 989onan (talk | contribs) (Create Local Impulse Timeout ProtoFlux Node Page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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 (Sudo-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 (Sudo-Generic) so more impulses from the local user can go out to Next again.

Timeout (Sudo-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 (Sudo-Generic) time has passed since the last impulse from the local user.

Examples