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 do you make collectables appear on a results screen?

So I'm a bit stumped here. I've been trying to make a blueprint for my item where if you collect this item, it'll appear on the level results screen widget at the end. I can't for the life of me figure this out and I feel like it's super friggin simple yet I can't wrap my head around it.alt text

Product Version: UE 4.19
pick-up-item.png (199.9 kB)
more ▼

asked Jun 09 '19 at 02:18 AM in Blueprint Scripting

avatar image

38 6 6 9

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

1 answer: sort voted first

Why are you going through a save game cycle? Also, not sure how this relates to a "results" widget at all? Where is the widget? How are you displaying the items? The most straightforward way is just use the game instance. Unless you really need this to be "saved" as in remember the items when the game is off, the game instance will be fine for remembering items collected through multiple levels. Save the boolean in the game instance, when it is collected set it to true after grabbing a reference to your game instance. Then when you create your widget whenever that happens again reference the game instance and set the images of the collectibles in the widget based on the booleans from the game instance. If you need help understanding how to get references or using the game instance, or even save/load cycles check out videos #20, 21 and 25 in the link below. You may find them useful.


more ▼

answered Jun 09 '19 at 05:05 AM

avatar image

Nebula Games Inc
5.4k 28 9 15

avatar image DaveDavey Jun 09 '19 at 01:10 PM

Ah okay dope, thanks! Yeah, so basicly what I was trying to do here is make the game save the fact that you got these collectables, so when you quit the game, you'll still have them. I'll go ahead and follow your instructions and check out those videos. Gonna see if I can get this system set up.

(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