I reply to my own message in case someone else get stuck like me.
The solution was avoiding the « call URL » node because it’s supposedly broken. It’s been recommended to use « apply URL » or « process URL » instead. I tried this and it works as intended.
(Resolved!)Hi, I am using varest to perform a save function. I am using Unreal 4.23 and varest r26. I encode the JSON file by varest with an array of the JSON objects.
I encode the JSON in this way but I cannot retrieve the JSON and convert back and restore to unreal. Anyone can help me?
Hello everyone.
I am trying to get a grasp on this plugin recently.
[[“3”,“11815”],[“1”,“4855”],[“2”,“1940”],[“4”,“0”]]
I am getting this response from my php script
The first one is a username and the second one is the score.
How can I decode this JSON and use the values in Unreal.
Thanks in advance.
Hello all,
I would like some help on how would I use VaRest to get a float value from Unreal into a webserver? I have never used VaRest before and I am sort of new to Blueprints as well. Thank you in advance.
hi guys, is there any documentation about how to update the DB data, for example, i would like to update the character coins everytime it finishes a match?
I am looking for the right method to spawn an actor based on an arrey field in a json object.
Suppose that you have on cube in the scene with one text render component attached to it.
On a press btton event, I want to spawn the cube and change the TextRender with the string contained in the array field.
Let me describe the context :
I am calling an URL to dynamically change a text render of a blueprint composed of a cube static mesh and two text render. It’s called BP_Piece.
2.I have my blueprint set up and working for one BP_Piece in that BP_Piece appears with two texts just above it.
My JSON file contains several objects in it.
Based on the number of objects, I would like to spawn BP_Piece actor and set the text to the next object in the list.
So for example, that function would spawn BP_Piece and fill the text render actor with the data coming from my json request.
The output would be :
I already have a function for calling the API withand setting the text. What I want is to kind of parse the JSON file for objects in it, get the needed fields, set the the text and spawn BP_Piece.
How you go about doing that ?
Hope I am comprehensive.