|LoadCloudAvatars|Bool| Whether to load the User's set avatar, or load the default avatar instead.
|LoadCloudAvatars|Bool| Whether to load the User's set avatar, or load the default avatar instead.
Line 32:
Line 32:
|EmptyAvatarSlotHandler|IEmptyAvatarSlotHandler|
|EmptyAvatarSlotHandler|IEmptyAvatarSlotHandler|
|FillEmptySlots|Bool| Whether to fill empty AvatarObjectSlots with default head and hand objects if they are missing on their loaded avatar.
|FillEmptySlots|Bool| Whether to fill empty AvatarObjectSlots with default head and hand objects if they are missing on their loaded avatar.
}}
== AvatarTemplate ==
{{Table TypeFields
|TemplateRoot|Slot| The avatar to use if this is chosen.
|OnlyForRole|'''[[#Role|Role]]'''|TypeAdv1=true| What role this choice should apply to.
|Weight|Float| The likelyness compared to other choices to choose this.
|MaxUsers|Int| How many users at maximum could be assigned this avatar at any given moment.
|BlockCloudAvatar|Bool| Whether the user's [[Favorites|Favorited]] avatar should be ignored.
}}
=== Role ===
{{Table EnumValues
|Anyone|0| Anyone will get the avatar.
|HostOnly|1| Only the host may get this avatar.
|GuestOnly|2| Only guests may get this avatar.
}}
}}
Revision as of 03:11, 6 January 2025
This article or section is a Stub. You can help the Resonite Wiki by expanding it.
Component image
CommonAvatarBuilder component as seen in the Scene Inspector
Common Avatar Builder is a component that is part of every world that defines the spawning behavior and routines to do for all users when they spawn into a world. This can be used to add world settings menus, change what parts of a user get automatically set up, and so on.
A slot that will automatically be duplicated and added as a child of an avatar when they join the world. Certain components will use this to override user behavior when part of this slot's hierarchy, like Avatar Audio Config to name one.