Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Custom Actor System with PhP

Good evening friends, I would like to know how can I make a script system that makes requests for PHP GET or POST, to make a more amplified character system. For example I would like to make when the player did sign on my launcher he requested an access token and give it executed the passing game this access token so that the game using blueprint he make a request to my server example: http://localhost /get_user_data.php?username=Dummy&token=MyAccessTokenDemo and he returned in the array status of this and generate a mini inventory system in which would have to customize the player by putting armor, shields, coins of the game.

Basically I'm doing a project that is a game inspired by minecraft but only its minigames such as SkyWars, PvP, 1vs1, HungerGames, Splegg, Build and Battle etc. I've done characters Steve and Alex, but I have no idea how to interact to break the blocks using gamemode on blueprint.

Examples of gamemodes in blueprint: SkyWars_BP PvP_BP 1vs1_BP HungerGamer_BP

I know it can be a very complicated task, but I still will try anyway since I met the Unreal Engine, I already had this objective.

Product Version: UE 4.10
more ▼

asked Jun 05 '16 at 10:03 PM in Blueprint Scripting

avatar image

1 1

avatar image mdonge Jun 06 '16 at 01:13 AM

First you need to know how to code in php ><.

Then there isn't any BP features for http requests for the moment : you will have to use a plug in ("VaRest" is nice) OR to code it in cpp. VaRest is pretty easy to use, but programming it in cpp is not very hard, I made it in an actor component and I just have to add this component in BP to use http requests.

Don't forget that GET requests are sensitive, every one can make them and change params.

(IMO, I will use PlayerState for the inventory of a player ...)

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

0 answers: sort voted first
Be the first one to answer this question
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question