Get User Name
Returns a player's account user name; use it for stable player labels when their display name may differ.
Diagram
Ports drawn from the source data: inputs left, outputs right, config inside.
How it's used
Structural overview — derived from this gate's ports, not
from tested behavior. Takes 2 wire inputs: Exec (exec), Player State (entity). Produces 2 outputs: Exec Out (exec), User Name (string).
Wire inputs
Wires you feed into the gate.
| Display name | Type | Tooltip |
|---|---|---|
| Exec | exec | No tooltip in source |
| Player State (PlayerState) | entity | No tooltip in source |
Wire outputs
Wires the gate produces.
| Display name | Type | Tooltip |
|---|---|---|
| Exec Out (ExecOut) | exec | No tooltip in source |
| User Name (UserName) | string | No tooltip in source |
Source details
- Brick asset
- B_1x1_Gate_Exec_PlayerState_GetUserName
- Component class
- BrickComponentType_Exec_PlayerState_GetUserName
- Kind
- exec
- Family
- PlayerState
- Half size
- 5 × 5 × 2