Difference between revisions of "Timer (LogiX node)"
Jump to navigation
Jump to search
Line 16: | Line 16: | ||
Each frame update, this node checks whether a number of seconds greater than or equal to the <code>Interval</code> input have elapsed. If they have, an impulse is fired owned by the <code>UpdatingUser</code>. If no <code>UpdatingUser</code> is provided, the default owner is the world host. If a null </code>UpdatingUser</code> is provided, the node will not fire at all. | Each frame update, this node checks whether a number of seconds greater than or equal to the <code>Interval</code> input have elapsed. If they have, an impulse is fired owned by the <code>UpdatingUser</code>. If no <code>UpdatingUser</code> is provided, the default owner is the world host. If a null </code>UpdatingUser</code> is provided, the node will not fire at all. | ||
− | It is '''NOT''' recommended to use '''Local User''' with this node. | + | === User Handling === |
+ | It is '''NOT''' recommended to use '''[[Local_User_(LogiX_node)|Local User]]''' with this node. When [[Local_User_(LogiX_node)|Local User]] is used, it will fire impulses for all users in the session. This is similar to the guidance for [[Fire_On_True_(LogiX_node)| Fire On True]] etc. | ||
== Examples == <!--T:4--> | == Examples == <!--T:4--> |
Revision as of 19:46, 11 July 2021
Timer | ||
---|---|---|
Inputs | ||
Float | Interval | |
User | UpdatingUser | |
Outputs | ||
Impulse | Pulse |
The Timer node fires impulses from Pulse
separated by the number of seconds specified by the Interval
input.
Usage
Each frame update, this node checks whether a number of seconds greater than or equal to the Interval
input have elapsed. If they have, an impulse is fired owned by the UpdatingUser
. If no UpdatingUser
is provided, the default owner is the world host. If a null UpdatingUser is provided, the node will not fire at all.
User Handling
It is NOT recommended to use Local User with this node. When Local User is used, it will fire impulses for all users in the session. This is similar to the guidance for Fire On True etc.