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"

Is it possible to save an umg image with a savegame?

Hey there! So I watched a tutorial about saving and loading but I cannot figure out how to save an image on button click. Basically I have a small skill tree and when i click on a button I want the icon to change and stay changed.

Well the Icon changed but every time I close the widget it refreshes and I do not know what to do anymore.

http://prntscr.com/m6709a

http://prntscr.com/m670eg

I thought this one might have been the troublemaker so I tried there a bunch of stuff but nothing rly.

http://prntscr.com/m670kp

http://prntscr.com/m6711z

I really don't know anymore.

Help is really appreciated!

Product Version: UE 4.20
Tags:
more ▼

asked Jan 11 '19 at 10:29 PM in Using UE4

avatar image

Jinvira
16 2 2 7

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

2 answers: sort voted first

The simple answer is yes, you can save an image located on a button. Implementing this system however is not quite as simple. You need to save many variables beyond just the image. You need to save whether or not the skill is unlocked, what image, script logic for loading this image back onto the skill tree each time the menu is opened etc. You would need to post screen shots of what you currently have, what works, what doesn't etc and then we may be able to help :)

more ▼

answered Jan 12 '19 at 02:37 AM

avatar image

Nebula Games Inc
5.4k 28 9 14

avatar image Jinvira Jan 12 '19 at 10:47 AM

I will send you some screenshots. I Should have done that from the beginning I guess. I think I just started from the wrong angle on this save system.

http://prntscr.com/m6709a

http://prntscr.com/m670eg

I thought this one might have been the troublemaker so I tried there a bunch of stuff but nothing rly. http://prntscr.com/m670kp

http://prntscr.com/m6711z

I really don't know anymore.

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

You should really add some Screenshots to the actual post. we dont really know how you are changing the icon.

here is some things u need to know. You dont need to save the pic itself obviously since its already there in your project and is Static. What you do need to do is create a array that stores unlocked skills(just names are enough). and then in the logic just add a implementation that checks if the skill exists in ur array and then change the pic accordingly. if i knew how this skill tree is working i would have been able to help more.

And Also Use the save system to save this array. Print a index of the array using print string to check if everything is working as intended.

more ▼

answered Jan 12 '19 at 02:19 PM

avatar image

SupDeity
343 3 6 15

avatar image Jinvira Jan 12 '19 at 02:24 PM

Hey there! I added some pictures, I think I just started wrong. I think I will just restart this and read some more on the internet about how to go about this.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
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