m formatting |
Add more info, no longer stub |
||
Line 17: | Line 17: | ||
|}} | |}} | ||
Will pulse every X seconds specified from the UpdatingUser if | Will pulse every X seconds specified from the UpdatingUser ([[Type:User|User]]) if UpdatingUser ([[Type:User|User]]) is provided. | ||
== Inputs == | |||
=== Interval ([[Type:Float|float]]) === | |||
< | How often in seconds should the node send an impulse from UpdatingUser ([[Type:User|User]]) accounting for SkipIfNull ([[Type:Nullable`1|Bool?]] -> [[Type:Bool|bool]])'s arguments. | ||
== Outputs == | |||
=== OnUpdate ([[Impulses|Call]]) === | |||
Sends an Impulse every Interval ([[Type:Float|float]]) seconds from the user depending on SkipIfNull ([[Type:Nullable`1|Bool?]] -> [[Type:Bool|bool]])'s arguments. | |||
== Globals == | |||
=== UpdatingUser ([[Type:User|User]]) === | |||
The user to send impulses from and to simulate the timer. | |||
=== SkipIfNull ([[Type:Nullable`1|Bool?]] -> [[Type:Bool|bool]]) === | |||
If it should pulse for every user, or pulse for everyone if UpdatingUser ([[Type:User|User]]) is null every Interval ([[Type:Float|float]]) seconds. | |||
This field can be clicked on to change it's value. | |||
== Examples == | |||
<gallery widths=480px heights=480px> | |||
File:Protoflux_example_Seconds_Timer.webp|Seconds Timer being used to make an object move every x seconds. | |||
</gallery> | |||
[[Category:ProtoFlux:Flow]] | [[Category:ProtoFlux:Flow]] |
Revision as of 18:29, 16 February 2024
Seconds Timer
null
∅
null
∅
Flow
Will pulse every X seconds specified from the UpdatingUser (User) if UpdatingUser (User) is provided.
Inputs
Interval (float)
How often in seconds should the node send an impulse from UpdatingUser (User) accounting for SkipIfNull (Bool? -> bool)'s arguments.
Outputs
OnUpdate (Call)
Sends an Impulse every Interval (float) seconds from the user depending on SkipIfNull (Bool? -> bool)'s arguments.
Globals
UpdatingUser (User)
The user to send impulses from and to simulate the timer.
SkipIfNull (Bool? -> bool)
If it should pulse for every user, or pulse for everyone if UpdatingUser (User) is null every Interval (float) seconds.
This field can be clicked on to change it's value.
Examples
-
Seconds Timer being used to make an object move every x seconds.