Component:CloudValueVariableDriver`1: Difference between revisions

From Resonite Wiki
added some info
move to no `1
Tag: New redirect
 
Line 1: Line 1:
<languages></languages>
#REDIRECT[[Component:CloudValueVariableDriver]]
<translate>
<!--T:1-->
{{Infobox Component
|Image=CloudValueVariableDriver`1Component.png
|Name=Cloud Value Variable Driver`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 drives <code>Target</code> to the cloud value read, or drives it to <code>FallbackValue</code> if not found.
 
<!--T:2-->
== Fields ==
{{Table ComponentFields
|Path|String| The [[Cloud_Variables#Cloud_Variable_Definition| path]] of the variable this component will read.
|Target|{{RootFieldType|FieldDrive`1|T}}|TypeAdv1=true| The target [[Type:IField`1| field]] to which the variable value will be written.
|IsLinkedToCloud|Bool| ''(Read Only)'' Indicates whether this field was successfully bound to the target variable.
|WriteBack|Bool| Updates the value in the cloud when the driven field is changed.
|FallbackValue|'''T'''|TypeAdv4=true| Default value if there is no current active user or <code>OverrideOwner</code>. If the user's value isn't set, the definition default will be used instead.
|OverrideOwner|String| The UserID of the user that made a definition for the variable specified by <code>Path</code>, or active user if not specified.
}}
 
<!--T:3-->
== Usage ==
 
<!--T:4-->
== Examples ==
 
<!--T:5-->
== Related Components ==
</translate>
[[Category:Generics{{#translation:}}]]
[[Category:Components{{#translation:}}|Cloud Value Variable Driver`1]]
[[Category:Generic Components{{#translation:}}|Cloud Value Variable Driver`1]]
[[Category:Components:Cloud:Variables{{#translation:}}|Cloud Value Variable Driver`1]]

Latest revision as of 20:25, 11 November 2024