Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

ProtoFlux:UpdatesTimer: Difference between revisions

From Resonite Wiki
J4 (talk | contribs)
add updates timer node
 
YoshBot (talk | contribs)
m YoshBot moved page ProtoFlux:Updates Timer to ProtoFlux:UpdatesTimer: Automated: removing spaces from ProtoFlux namespace
 
(7 intermediate revisions by 4 users not shown)
Line 8: Line 8:
|Outputs=
|Outputs=
[
[
{"Name": "OnUpdate", "Type":"Impulse"}
{"Name": "OnUpdate", "Type":"Call"}
]
]
|Globals=
|Globals=
Line 17: Line 17:
|}}
|}}


[[Category:ProtoFlux:Flow:Async]]
The '''Updates Timer''' node sends a pulse from the <code>UpdatingUser</code> at the specified interval of engine updates from said user.
 
== Inputs ==
 
=== Interval ([[Type:int|int]]) ===
 
The interval of engine updates to send pulses at.
 
== Outputs ==
 
=== OnUpdate ([[Impulses|Call]]) ===
 
Sends a pulse at every <code>Interval</code> engine updates from the <code>UpdatingUser</code>.
 
== Globals ==
 
=== UpdatingUser ([[Type:User|User]]) ===
 
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;) ===
 
If <code>True</code>, no pulses will be generated if <code>UpdatingUser</code> is null. Otherwise, impulses will be generated by the [[ProtoFlux:Host User|host user]] if <code>UpdatingUser</code> is null.
 
== See Also ==
 
* [[ProtoFlux:Update]] to generate an impulse every engine update.
* [[ProtoFlux:Seconds Timer]] to generate an impulse at a specified interval of seconds.
* [[ProtoFlux:Local Update]] to generate an impulse from every user every local engine update.
 
[[Category:ProtoFlux:Flow]]

Latest revision as of 00:39, 21 August 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