x

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"

How can I import files for something in-game?

How can I make that in-game I want to select an image and then import that image from the pc and add it in the game as a variable sprite or any image thing?

Product Version: UE 4.21
Tags:
more ▼

asked Jan 02 '19 at 11:02 AM in Blueprint Scripting

avatar image

A_Ali107
6 2 3 5

avatar image Weibye Jan 02 '19 at 01:59 PM

Since the engine requires baking of most if not all assets prior to building the game, importing stuff in realtime after the bake has been done is a non-trivial issue. It is either impossible due to how the engine works, or requires substantial C++ rewriting of the engine, if my current understanding of the engine is correct. I could be wrong, and if you find a way to do so, I would be very interested in the solution.

Edit: I am wrong. My research was incomplete and conclusion incorrect.

avatar image Evigmae Jan 02 '19 at 03:14 PM

no, you can, it's built in there. think of people choosing their own avatars and stuff like that. not that out there

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

Here's a link to a question someone asked where the answer was that the question was asked 3 times before, with link to the replies.

https://answers.unrealengine.com/questions/205006/is-it-possible-to-load-an-image-at-runtime.html

more ▼

answered Jan 02 '19 at 03:11 PM

avatar image

Evigmae
1.6k 7 3 8

(comments are locked)
10|2000 characters needed characters left
Your answer
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