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"

search text of a widget box

I want to know if i can search from a box ,whether it contains a specific text alt text

on this screenshot here i want to hide the text "values" if every of this values are 0. i can solve it ,but i dont want to waste that much functions.

Product Version: UE 4.17
unbenannt.png (200.7 kB)
unbenannt.png (200.7 kB)
more ▼

asked Sep 04 '18 at 04:14 PM in Using UE4

avatar image

26 4 5 8

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

1 answer: sort voted first

There are 2 ways you can go about it, here's the hard, ugly way:

Mark all text block as variable (top of the details panel) and then:

alt text

Note, this is untested but looks ok to me.

The correct way to do it is to turn the WrapBox items into separate widgets and drop them into the WrapBox as custom widget - this way you can query them very easily and you get a lot of flexibility and other functionality you may want down the line. Depends on how complex this is going to be.

Hope it helps.

capture.png (210.3 kB)
more ▼

answered Sep 04 '18 at 05:25 PM

avatar image

13.7k 74 25 57

avatar image ksensenmann Sep 05 '18 at 10:47 AM

I have a little big problem here... every single value is different. (I just didnt have the pictures for the others) so i cant make one new widget for all of the values. Im trying to do this with a data table. Maybe it works

avatar image Everynone Sep 05 '18 at 11:20 AM

I don't understand.

Are you referring to the 1st option I posted or the 2nd one. For the second one, you expose a variable on the widget and feed it values from the DataTable. That's providing you are spawning them dynamically. It's much easier with static elements that you manually drop in a panel.

Consider providing a bit more info regarding what you're trying to achieve.

avatar image ksensenmann Sep 05 '18 at 12:31 PM

im trieing to do the 2nd option. This values are values for one of my equipment items. As example: I have a sword and he has attackdamage, attackspeed, attackrange and so on... This are item effects

This WrapBox is not only for weapons. It is for every item (shield rings helmet etc.). Manually drop in a panel is no option for me, because it would be to full of functions. There will be ca 20 different values (an image with value) I created a dataTable with the ID,value, Name and image for my itemeffects. It is difficult to explain everything. Im watching out to make a little specific video about the problem when u take a bit time for it.

avatar image ksensenmann Sep 05 '18 at 02:02 PM

ok i get it. Thx for your help.

avatar image Everynone Sep 05 '18 at 02:04 PM

I see you've figured it out! Well done, sir.

(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