Automated: update Fields, Categories |
m "intoduction" |
||
(One intermediate revision by one other user not shown) | |||
Line 6: | Line 6: | ||
|Name=DestroyOnUserLeave | |Name=DestroyOnUserLeave | ||
}} | }} | ||
The '''DestroyOnUserLeave''' component causes the parent slot to be deleted when the user specified in <code>User</code> leaves the world. | The '''DestroyOnUserLeave''' component causes the parent slot to be deleted when the user specified in <code>User</code> leaves the world. | ||
== Usage == | == Usage == | ||
{{Table ComponentFields | {{Table ComponentFields | ||
|TargetUser|{{RootFieldType|UserRef}}|TypeAdv0=true| | |TargetUser|{{RootFieldType|UserRef}}|TypeAdv0=true| The user that will cause the parent slot to be deleted upon leaving | ||
}} | }} | ||
== Behavior == | == Behavior == |
Latest revision as of 01:22, 20 April 2024
This article or section is a Stub. You can help the Resonite Wiki by expanding it.
Component image
The DestroyOnUserLeave component causes the parent slot to be deleted when the user specified in User
leaves the world.
Usage
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. |
TargetUser
|
direct UserRef | The user that will cause the parent slot to be deleted upon leaving |