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"

interface message from player controller to UMG widget not working

Hey guys. I'm trying to set up a simple menu system, but the interface messages don't seem to be working between my player controller and menu widget.

I'm referencing the widget BP "charSelect" and sending an interface message from my "menuController" bp. Unfortunately, the "charSelect" widget never receives the message. Any ideas?

alt text

alt text

Product Version: UE 4.8
Tags:
help1.jpg (355.9 kB)
help2.jpg (288.6 kB)
more ▼

asked Aug 04 '15 at 09:21 AM in Blueprint Scripting

avatar image

Kapos
16 4 6 9

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

3 answers: sort voted first

Make sure:

1-Your ref is valid

2-You added the interface to your widget class setting

more ▼

answered Aug 04 '15 at 03:32 PM

avatar image

Mhousse1247
3.5k 152 29 318

avatar image Kapos Aug 05 '15 at 06:01 AM

Yes and yes.... :/

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

You reference is incorrect , you can't set a ref that doesn't exist yet , there is solution :

1-Save a ref when the widget is created

or

2- Using "Get All Widgets Of Calss" and get "0" instead of your ref alt text

test05.png (102.0 kB)
more ▼

answered Aug 05 '15 at 08:26 AM

avatar image

Mhousse1247
3.5k 152 29 318

avatar image Kapos Aug 07 '15 at 06:22 AM

Thanks for the reply! I changed things around so now my reference is being set after the widget is created. However, the interface message still isn't working. Am I still setting this reference incorrectly?alt text

help1.jpg (192.9 kB)
(comments are locked)
10|2000 characters needed characters left
Viewable by all users

It should work may be the is something else.

Here is an other solution, instead of using an interface, you can create a custom event and call is directly from your ref

more ▼

answered Aug 07 '15 at 08:37 AM

avatar image

Mhousse1247
3.5k 152 29 318

(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