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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

How to make Dynamic Dark Souls UMG inventory?

I have a set up that Upon colliding with an object, an icon representing the object appears in the inventory - like dark souls. But I am having a hard time trying to figure out how set up the selection using a gamepad. It doesn't seem very efficient that I make a "switch on int" for like 100 numbers

alt text

So what I am trying to do is -

alt text

If anyone has any advice on how to have some sort of "dynamic - switch on int" or something would greatly appreciate it.

Product Version: UE 4.12
Tags:
not this.png (201.0 kB)
rokvr.jpg (366.4 kB)
more ▼

asked Aug 20 '16 at 05:47 PM in Blueprint Scripting

avatar image

Ghostblades
114 16 24 37

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

2 answers: sort voted first

make a custom widget for your buttons, and give it a boolean called Highlighted. use this boolean to decide how to set the style of the button.

then in the main widget, you can put all of the button references in an array, and any time you want to change ButtonIndexPosition, you get the currently highlighted button, set its Highlighted boolean to false, then change ButtonIndexPosition to its new value, and set the new button's Highlighted variable to True. that way, you will only have 1 option highlighted at a time.

more ▼

answered Aug 20 '16 at 07:55 PM

avatar image

ScottSpadea
9.6k 320 205 449

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

That worked, Great!!!

Thank you so much

more ▼

answered Aug 25 '16 at 07:07 AM

avatar image

Ghostblades
114 16 24 37

(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