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 I call a custom event from a widget blueprint?

Hi, I need some help with calling a custom event from a widget blueprint. In detail, I'm trying to make a system so when you click on a button in the widget it calls the custom event I made in the actor blueprint. I'm relativity new to blueprints and could use some suggestions.

Thanks for the help!

alt text alt text

Product Version: UE 4.21
gzba2ql.png (145.1 kB)
e5p8idq.png (76.5 kB)
more ▼

asked Dec 14 '18 at 06:48 AM in Blueprint Scripting

avatar image


(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

I'm assuming you are adding widget to viewport in playercontroller. Create a variable in playercontroller. Set variable type to your widget. Then set widget to your variable after adding to viewport. After that you can reach that widget with getting playercontroller and casting to your own playercontroller type.

PlayerController Actor

more ▼

answered Dec 14 '18 at 08:24 AM

avatar image

36 3 4

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