ProtoFlux:Updates Timer: Difference between revisions

From Resonite Wiki
update global type I think this looks better
note about local user driven
 
Line 36: Line 36:


The user that the <code>OnUpdate</code> pulse will be generated from and owned by.
The user that the <code>OnUpdate</code> pulse will be generated from and owned by.
This input can be [[drives|driven]] by a [[ProtoFlux:Local User|Local User]] node to generate impulses for every user.


=== SkipIfNull ([[Type:Nullable`1|Nullable]]&lt;[[Type:bool|bool]]&gt;) ===
=== SkipIfNull ([[Type:Nullable`1|Nullable]]&lt;[[Type:bool|bool]]&gt;) ===

Latest revision as of 19:28, 1 January 2025

Updates Timer
Interval
OnUpdate
Updating User
null
SkipIfNull
null
Flow

The Updates Timer node sends a pulse from the UpdatingUser at the specified interval of engine updates from said user.

Inputs

Interval (int)

The interval of engine updates to send pulses at.

Outputs

OnUpdate (Call)

Sends a pulse at every Interval engine updates from the UpdatingUser.

Globals

UpdatingUser (User)

The user that the OnUpdate pulse will be generated from and owned by.

This input can be driven by a Local User node to generate impulses for every user.

SkipIfNull (Nullable<bool>)

If True, no pulses will be generated if UpdatingUser is null. Otherwise, impulses will be generated by the host user if UpdatingUser is null.

See Also