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-->
<!--T:2-->
== Fields ==
== Fields ==
{{Table ComponentFields
{{Table ComponentFields
|Path|String| The [[Cloud_Variables#Cloud_Variable_Definition| path]] of the variable this component will read, for the current [[Active_User|active user]]
|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.
|Target|{{RootFieldType|FieldDrive`1|T}}|TypeAdv1=true| The target [[Type:IField`1| field]] to which the variable value will be written.
|IsLinkedToCloud|{{RootFieldType|RawOutput`1|[[Type:Bool|Bool]]}}|TypeAdv2=true| ''(Read Only)'' Indicates whether this field was successfully bound to the target variable.
|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.
|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. If the active user's value isn't set, the definition default will be used instead.
|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|
|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.
}}
}}
Line 28:
Line 33:
== Related Components ==
== Related Components ==
</translate>
</translate>
[[Category:ComponentStubs]]
[[Category:Generics{{#translation:}}]]
[[Category:Generics{{#translation:}}]]
[[Category:Components{{#translation:}}|Cloud Value Variable Driver`1]]
[[Category:Components{{#translation:}}|Cloud Value Variable Driver`1]]
[[Category:Generic 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]]
[[Category:Components:Cloud:Variables{{#translation:}}|Cloud Value Variable Driver`1]]
Revision as of 19:00, 15 October 2024
Component image
Cloud Value Variable Driver`1 component as seen in the Scene Inspector
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 Target to the cloud value read, or drives it to FallbackValue if not found.