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"

How to get variable from blueprint class to level blueprint?

Hey I'm having trouble on what I should plug in to the "object" part of the node "Cast to WB_ProMainMenu" all I want to do is get the variable from the class. By the way this is the level blueprint. I included a picture.alt text

Product Version: UE 4.20
Tags:
screenshot-1.png (191.3 kB)
more ▼

asked Dec 12 '18 at 03:33 AM in Blueprint Scripting

avatar image

BCULBZ
12 1 1 6

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

1 answer: sort voted first

Class is not a object, you need to create one or get one first. Considering it's Main menu i assume this is UMG widget? Then when you create the widget you get reference to it, is then of just throwing it away store it in variable, you also don't need to do casting at that point (as long as you set variable type correctly)

more ▼

answered Dec 12 '18 at 11:18 PM

avatar image

Shadowriver
34.7k 918 164 1095

avatar image BCULBZ Dec 12 '18 at 11:22 PM

Are you able to demonstrate in a screenshot? Please

(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