Forum Discussion
Oweeboi
Feb 23, 2024Copper Contributor
Passing values from Cloud to Visual Scripting and vice versa
Just want to know if some of you are aware on how to pass variable values from Cloud to Visual and vice versa. When doing a debug on Cloud Scripting, only limited nodes are exposed (ie. Text, Transform etc). But no way to get the variable node even checking the descendants node under scene.
We are planning to pass variables from our REST API response from cloud into NPC and Animators.
Thanks in advance!
- We haven't found a way to send HTTP requests via Visual Scripting and therefore we do it with Cloud Scripting. Then we just can't have both in the same object which means that we cannot use e.g. hover effect from mesh interactive setup in the button firing a Cloud Script.
- peiyezhuBronze ContributorI do not know what your specific kind REST API response from cloud.
At my side,I use xmlhttp in vba and formula webservice to connect my web site with json/xml string - kaipiroskaBrass ContributorTo my knowledge it is not currently possible to pass variable values between Cloud and Visual Scripting. It is one of my top requests to the development team.
- OweeboiCopper ContributorThanks for your reply! So you are sending HTTP requests via visual scripting?
Was thinking of using cloud scripting to trigger REST API. Btw, I have created a REST call to get rows from D365 Dataverse and then I was planning bind them to our game objects.- kaipiroskaBrass ContributorWe haven't found a way to send HTTP requests via Visual Scripting and therefore we do it with Cloud Scripting. Then we just can't have both in the same object which means that we cannot use e.g. hover effect from mesh interactive setup in the button firing a Cloud Script.