More information about Timer behavior |
m YoshBot moved page ProtoFlux:Seconds Timer to ProtoFlux:SecondsTimer: Automated: removing spaces from ProtoFlux namespace |
||
(8 intermediate revisions by 3 users not shown) | |||
Line 8: | Line 8: | ||
|Outputs= | |Outputs= | ||
[ | [ | ||
{"Name": "OnUpdate", "Type":" | {"Name": "OnUpdate", "Type":"Call"} | ||
] | ] | ||
|Globals= | |Globals= | ||
Line 17: | Line 17: | ||
|}} | |}} | ||
The '''Seconds Timer''' node sends a pulse from the <code>UpdatingUser</code> at the specified interval of seconds. | |||
== Inputs == | |||
=== Interval ([[Type:Float|float]]) === | |||
The interval in seconds to send pulses at. | |||
== Outputs == | |||
=== OnUpdate ([[Impulses|Call]]) === | |||
Sends a pulse at every <code>Interval</code> seconds from the <code>UpdatingUser</code>. | |||
This input can be [[drives|driven]] by a [[ProtoFlux:Local User|Local User]] node to generate impulses for every user. | |||
== Globals == | |||
=== UpdatingUser ([[Type:User|User]]) === | |||
The user that the <code>OnUpdate</code> pulse will be generated from and owned by. | |||
=== SkipIfNull ([[Type:Nullable`1|Bool?]] -> [[Type:Bool|bool]]) === | |||
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. | |||
== Examples == | |||
== See Also == | |||
* [[ProtoFlux:Update]] to generate an impulse every engine update. | |||
* [[ProtoFlux:Updates Timer]] to generate an impulse at a specified interval of updates. | |||
* [[ProtoFlux:Local Update]] to generate an impulse from every user every local engine update. | |||
[[Category:ProtoFlux:Flow]] | [[Category:ProtoFlux:Flow]] |
Latest revision as of 00:33, 21 August 2025
Seconds Timer
null
∅
null
∅
Flow
The Seconds Timer node sends a pulse from the UpdatingUser
at the specified interval of seconds.
Inputs
Interval (float)
The interval in seconds to send pulses at.
Outputs
OnUpdate (Call)
Sends a pulse at every Interval
seconds from the UpdatingUser
.
This input can be driven by a Local User node to generate impulses for every user.
Globals
UpdatingUser (User)
The user that the OnUpdate
pulse will be generated from and owned by.
SkipIfNull (Bool? -> 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.
Examples
See Also
- ProtoFlux:Update to generate an impulse every engine update.
- ProtoFlux:Updates Timer to generate an impulse at a specified interval of updates.
- ProtoFlux:Local Update to generate an impulse from every user every local engine update.