ProtoFlux:FireOnTrue: Difference between revisions

From Resonite Wiki
add danger note
m YoshBot moved page ProtoFlux:Fire On True to ProtoFlux:FireOnTrue: Automated: removing spaces from ProtoFlux namespace
 
(9 intermediate revisions by 3 users not shown)
Line 13: Line 13:
|}}
|}}


{{Template:Basic Fire On Information|Fire On True|turns <code>True</code>|the OnlyForUser ([[Type:User|User]]) provided}}


{{Template:Note|DO NOT: Use this node with a [[ProtoFlux:Local User|Local User]] Node. Instead use a [[ProtoFlux:Local Fire On True|Local Fire On True]] node. It WILL cause networking issues and fighting across clients.|danger}}
== Inputs ==


== Inputs ==
=== OnlyForUser ([[Type:User|User]]) ===


=== OnlyForUser ([[Type:User|User]]) ===
The [[Type:User|User]] that should monitor the provided Condition ([[Type:Bool|bool]]).


The [[Type:User|User]] that should monitor the provided Condition ([[Type:Bool|bool]]) every game tick.
{{Template:Fire On True/False |true}}


=== Condition ([[Type:Bool|bool]]) ===  
=== Condition ([[Type:Bool|bool]]) ===


The [[Type:Bool|bool]] that should be monitored by the provided OnlyForUser ([[Type:User|User]]) every game tick.
The [[Type:Bool|bool]] that should be monitored by the provided OnlyForUser ([[Type:User|User]]).


== Outputs ==
== Outputs ==
Line 32: Line 31:


Fires when the provided OnlyForUser ([[Type:User|User]]) sees the provided Condition ([[Type:Bool|bool]]) turn true.
Fires when the provided OnlyForUser ([[Type:User|User]]) sees the provided Condition ([[Type:Bool|bool]]) turn true.
== See Also ==
* [[ProtoFlux:Fire On False]]
* [[ProtoFlux:Fire On Change]]


[[Category:ProtoFlux:Flow]]
[[Category:ProtoFlux:Flow]]
[[Category:Listener nodes]]

Latest revision as of 00:15, 21 August 2025

Fire On True
OnlyForUser
OnChanged
Condition
Flow


Inputs

OnlyForUser (User)

The User that should monitor the provided Condition (bool).

Determining the Owner of the Impulse

When this node is used the user who fires the impulse is determined using the following steps:

  1. If the OnlyForUser (User) property is not null only fire for this user.
  2. If the Node is parented under a User, fire only for that user.
  3. Otherwise fire for whoever changed the value to true.

Condition (bool)

The bool that should be monitored by the provided OnlyForUser (User).

Outputs

OnChanged (Call)

Fires when the provided OnlyForUser (User) sees the provided Condition (bool) turn true.

See Also