User
A Connected User (not their ingame Avatar)

ID: EntUser
Base Type: Entity Component

Values

NameTypeDescription
Player AvatarEntity Component VariableThe User's current Avatar in the World
Avatar AssetEntity Asset With Component VariablePlayer Avatar to Spawn
Set Avatar On TeamTeam VariableSets the Team variable of the Team component on the PlayerAvatar, if it has one
Spawn CountInt Variable#
ScoreNumber Variable#
Input TypeEnum Variable - ReadOnly
Local User NumInt Variable - ReadOnly
User StateEnum Variable - ReadOnly
In Hieachry ModeEntity Variable - ReadOnly
User NameText VariableDefaults to Player
User Started PlayingBool VariableSet to True once the user is in Playing state and after UserStartedPlaymode event - - ReadOnly

Methods

NameDescription
Can Use Player Avatar In WorldBool
Switch User State
Spawn Avatar()Spawns Avatar at Spawn Spots or at the Start Height
Spawn Avatar At Position(Vector3 groundPosition, Vector3 spawnRotation)Spawns Avatar at Position/Angle
Print Message(Text message)Print a message just to this user
Show UI Screen(UI Screen canvasScreen)Show a UI Screen asset to this user
Close UI Screen()Close any UI Screen the user currently has open
Show Message In UI Screen(Text message)Show a message as a UI Screen asset to this user

Properties

NameTypeDescription
Is VR UserBool
Is Screen UserBool
Is Local UserBool
Is Bot UserBool
Appearence InfoText
ClientClient

Attributes:
ModboxMain.MBTypeComponentNoIngameAddingAttribute
ModboxMain.MBTypeComponentEnabledInEditmodeAttribute
ModboxMain.MBOldIDAttribute