Automated: update Fields, Categories |
add info |
||
Line 2: | Line 2: | ||
<translate> | <translate> | ||
<!--T:1--> | <!--T:1--> | ||
{{Infobox Component | {{Infobox Component | ||
|Image=AvatarNodeAssignerComponent.png | |Image=AvatarNodeAssignerComponent.png | ||
|Name=AvatarNodeAssigner | |Name=AvatarNodeAssigner | ||
}} | }} | ||
The '''AvatarNodeAssigner''' component only functions on an avatar being equipped or de-equipped by a user. When equipped, the component finds the first [[Component:AvatarObjectSlot]] with a body node value that equals <code>Node</code>. if found, it assigns all slot storage fields in <code>Targets</code> to the slot the [[Component:AvatarObjectSlot]] is on. When de-equipped, all slot storage fields in <code>Targets</code> have their stored slot cleared. | |||
< | |||
<!--T:3--> | <!--T:3--> | ||
== | == Fields == | ||
{{Table ComponentFields | {{Table ComponentFields | ||
|Node|BodyNode| | |Node|BodyNode| The body node to search for when the avatar this is on is equipped. | ||
|Targets|{{RootFieldType|SyncRefList`1|[[Type:SyncRef`1|SyncRef`1]]<[[Type:Slot|Slot]]>}}|TypeAdv1=true| | |Targets|{{RootFieldType|SyncRefList`1|[[Type:SyncRef`1|SyncRef`1]]<[[Type:Slot|Slot]]>}}|TypeAdv1=true| The slot storage fields to fill when an [[Component:AvatarObjectSlot]] of node type <code>Node</code> is found. | ||
}} | }} | ||
<!--T:4--> | <!--T:4--> | ||
== | == Usage == | ||
{{stub}} | |||
<!--T:5--> | <!--T:5--> | ||
== Examples == | == Examples == | ||
{{stub}} | |||
<!--T:6--> | <!--T:6--> | ||
== | == See Also == | ||
</translate> | </translate> | ||
[[Category:Components{{#translation:}}|Avatar Node Assigner]] | [[Category:Components{{#translation:}}|Avatar Node Assigner]] | ||
[[Category:Components:Users:Common Avatar System{{#translation:}}|Avatar Node Assigner]] | [[Category:Components:Users:Common Avatar System{{#translation:}}|Avatar Node Assigner]] |
Latest revision as of 16:30, 20 December 2024
Component image
The AvatarNodeAssigner component only functions on an avatar being equipped or de-equipped by a user. When equipped, the component finds the first Component:AvatarObjectSlot with a body node value that equals Node
. if found, it assigns all slot storage fields in Targets
to the slot the Component:AvatarObjectSlot is on. When de-equipped, all slot storage fields in Targets
have their stored slot cleared.
Fields
Name | Type | Description |
---|---|---|
persistent
|
Bool | Determines whether or not this item will be saved to the server. |
UpdateOrder
|
Int | Controls the order in which this component is updated. |
Enabled
|
Bool | Controls whether or not this component is enabled. |
Node
|
BodyNode | The body node to search for when the avatar this is on is equipped. |
Targets
|
list of SyncRef`1<Slot> | The slot storage fields to fill when an Component:AvatarObjectSlot of node type Node is found.
|
Usage
This article or section is a Stub. You can help the Resonite Wiki by expanding it.
Examples
This article or section is a Stub. You can help the Resonite Wiki by expanding it.