Component:ChildrenSaveBlocker: Difference between revisions

From Resonite Wiki
Automated: create new component page
 
add info
 
Line 3: Line 3:
|Name=Children Save Blocker
|Name=Children Save Blocker
}}
}}
{{stub}}
Children save blocker is a component that prevents any user from saving the slots under the slot with this component.


== Usage ==
== Usage ==
Line 10: Line 10:


== Behavior ==
== Behavior ==
This component prevents any user from saving all the slots under this component's slot.


== Examples ==
== Examples ==
This component is used most commonly where a room or workspace may get filled with items that may not automatically make themselves non persistent. When the room, workspace, or world is saved, the items under the slot for said area will not exist in the save file. This is useful for auto cleanup of a world for saving it rather than cleaning it up manually.
This can also be used to make an avatar that is wearable by others, but the moment that the user tries to save the avatar, they will see an avatar icon but it will just spawn a blank slot when worn.


== See Also ==
== See Also ==
Line 17: Line 21:
[[Category:Components:Utility{{#translation:}}|Children Save Blocker]]
[[Category:Components:Utility{{#translation:}}|Children Save Blocker]]
[[Category:Components{{#translation:}}|Children Save Blocker]]
[[Category:Components{{#translation:}}|Children Save Blocker]]
[[Category:ComponentStubs]]

Latest revision as of 16:01, 16 October 2024

Component image 
Children Save Blocker component as seen in the Scene Inspector

Children save blocker is a component that prevents any user from saving the slots under the slot with this component.

Usage

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.

Behavior

This component prevents any user from saving all the slots under this component's slot.

Examples

This component is used most commonly where a room or workspace may get filled with items that may not automatically make themselves non persistent. When the room, workspace, or world is saved, the items under the slot for said area will not exist in the save file. This is useful for auto cleanup of a world for saving it rather than cleaning it up manually.

This can also be used to make an avatar that is wearable by others, but the moment that the user tries to save the avatar, they will see an avatar icon but it will just spawn a blank slot when worn.

See Also