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"

Cast To HUD from a HUD

Hi, I want when I click JOUER, the game loads the save part and the part is registered in Ui_PAUSE,but is not working

alt text

alt text

Product Version: Not Selected
here.png (244.7 kB)
here2.png (349.6 kB)
more ▼

asked May 10 '19 at 09:43 PM in Blueprint Scripting

avatar image

1 1 4

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

1 answer: sort voted first

Casting does not work this way. You can cast only between classes which are derived one from another. In your case, you should get a reference to another UI widget to be able to call it's methods. Not sure how exactly you're spawning your widgets so can't say how exactly it can be made.

For instance, if they are spawned one from another or from a single common source – then just make a variable of the required type and pass the reference into it.

more ▼

answered May 10 '19 at 10:19 PM

avatar image

435 11 18 25

avatar image Étiboogi May 10 '19 at 11:30 PM

so what do i have to do so that when i press play in my HUD Menu, my button sends information to do function f_charger(load*) ?

avatar image norlin May 11 '19 at 12:55 PM

There are different ways possible, it depends on how do you spawn your widgets. Here is a possible example: https://youtu.be/6IOgkWv1lEY

(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