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"

What object to I cast from in blueprint to blueprint casting?

alt text

What am I supposed to make the "object"? I've tried player controller and everything and it says it isn't inherited from there so it will always fail. I'm trying to just edit an integer from another widget inside this widget, is there a better way of doing this? Please help.

Product Version: UE 4.14
capture.png (86.3 kB)
more ▼

asked Feb 12 '17 at 05:30 PM in Blueprint Scripting

avatar image

68 12 16 18

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

1 answer: sort voted first

You need to find that other widget's reference(light blue). When you create the other widget using CreateWidget you have to send that reference to that widget. Create a variable in that widget that is a Screen widget reference(light blue) set it to editable and exposed on spawn. Then when you spawn that widget plugin the Screen widget to that. Now you can modify the Screen widget variable inside that widget.

more ▼

answered Feb 13 '17 at 05:01 AM

avatar image

344 10 12 21

(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