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"

Issue with Widget Component

Hi! I have this little issue, i made a widget_BP with a progress bar, and a custom event to increase the bar. alt text

Now i've added this widget in a widget component inside another actor, now i want to call my custom event to start the bar but i cannot see my custom event in the list alt text

Is this a wrong way ? I just want to see a different progress bar on the top of every my actors in the scene, thanks !

Product Version: UE 4.20
widgetissue01.jpg (692.8 kB)
widgetissue02.jpg (822.0 kB)
more ▼

asked Sep 24 '18 at 10:49 PM in Blueprint Scripting

avatar image

65 6 10 16

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

1 answer: sort voted first

This is alright, there's just one more extra step you need to take - you have to get the user widget object and cast it to your widget class, like this: alt text

In your case, you'd take gasoline progress bar and get its user widget object which you'd cast to GasolineCarBar_Widget. From there you can call your function.

capture2.png (52.7 kB)
more ▼

answered Sep 24 '18 at 11:48 PM

avatar image

78 2 6 10

avatar image Cervelx Sep 25 '18 at 08:49 AM

Thanks man !

(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