Difference between revisions of "Local User (LogiX node)"
Jump to navigation
Jump to search
Line 21: | Line 21: | ||
== Usage == <!--T:4--> | == Usage == <!--T:4--> | ||
− | The output of this node will necessarily be different dependent on which user owns the impulse chain under which the Local User node's output is checked. Imagine world session hosted by Alice where Bob is also present. A button is connected via LogiX such that the Local User at time of firing is written to a [[ | + | The output of this node will necessarily be different dependent on which user owns the impulse chain under which the Local User node's output is checked. |
+ | |||
+ | Imagine world session hosted by Alice where Bob is also present. | ||
+ | * A button is connected via LogiX such that the Local User's Username at time of firing is written to a [[String (LogiX node)| String variable]]. | ||
+ | * If either user presses the button, their username will be written to the variable. | ||
+ | * If Alice pushes the button Alice's name is written to the variable. | ||
+ | * If Bob pushes the button Bob's name is written to the variable. | ||
== Examples == | == Examples == | ||
== Node Menu == | == Node Menu == |
Revision as of 12:41, 31 May 2021
The Local User node outputs a reference to the Local User.
Inputs & Outputs
Color | Label | Type |
* | User |
Usage
The output of this node will necessarily be different dependent on which user owns the impulse chain under which the Local User node's output is checked.
Imagine world session hosted by Alice where Bob is also present.
- A button is connected via LogiX such that the Local User's Username at time of firing is written to a String variable.
- If either user presses the button, their username will be written to the variable.
- If Alice pushes the button Alice's name is written to the variable.
- If Bob pushes the button Bob's name is written to the variable.