Component:CloudValueField: Difference between revisions

From Resonite Wiki
add info
duplicate
Tag: New redirect
Line 1: Line 1:
<languages></languages>
#REDIRECT[[Component:CloudValueField`1]]
<translate>
<!--T:1-->
{{stub}}
{{Infobox Component
|Image=CloudValueField`1Component.png
|Name=Cloud Value Field`1
}}
For more info on how Cloud Variables work in general, see [[Cloud Variables]].
 
This updates as fast as reading/writing cloud variables permits. All the restrictions that apply to cloud variables apply to this component, including permissions and world contexts.
 
This component constantly writes the contents of the field specified by <code>Target</code> to the value of the specified cloud variable.
 
<!--T:2-->
== Fields ==
{{Table ComponentFields
|Path|String| The cloud variable path to read from, this needs to start with a UserID.
|IsLinkedToCloud|Bool| Whether the variable exists or not.
|VariableOwnerId|String| The UserID of the user that created the variable.
|ChangeHandling|CloudVariableChangeMode| See [[Type:CloudVariableChangeMode|Cloud Variable Change Mode]].
|Target|IField`1|TypeString4=IField<float>| The field which to change the contents of to the value of the cloud variable.
}}
 
<!--T:3-->
== Usage ==
Put this component on a slot, and give it a valid cloud variable <code>Path</code> and <code>VariableOwnerId</code>. For how to get a valid path and id, see [[Cloud Variables]]. when given a <code>Target</code>, the contents of the field given to <code>Target</code> will auto update with the cloud variable value.
 
<!--T:4-->
== Examples ==
 
<!--T:5-->
== Related Components ==
</translate>
[[Category:Generics{{#translation:}}]]
[[Category:Components{{#translation:}}|Cloud Value Field`1]]
[[Category:Components:Cloud:Variables{{#translation:}}|Cloud Value Field`1]]

Revision as of 18:46, 15 October 2024