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"

change visabilityof blueprint actor class on click of button widgit class?

Product Version: UE older version
02.png (305.2 kB)
01.png (1.3 MB)
more ▼

asked Oct 13 '16 at 05:42 AM in Using UE4

avatar image

12 2 6 6

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

1 answer: sort voted first

This has been answered in another thread with very thorough documentation on how it was achieved Changing Materials with UMG

The same concept can be applied to modifying anything you want about any actor in a scene.

more ▼

answered Oct 13 '16 at 04:43 PM

avatar image

1.2k 31 8 33

avatar image jaiki69 Oct 13 '16 at 07:02 PM

I got the colour change script but unable to communicate with the bp actor or the sofa I want to hide one sofa when the other sofa is visible with the button click...how to get the reference from the bp actor to the widget and set the visibility on and off on press of the button.

avatar image MajinSephiroth Oct 13 '16 at 07:09 PM

If you follow that tutorial, you will have a reference to the "sofa" actor. You can then use that reference to do whatever you want with it. You can apply a rotation, hide it, change its material ...

avatar image jaiki69 Oct 13 '16 at 08:02 PM

in place of sofa I used two different shapes as bp actor class the I used variable as static mesh actor and added it but still they are visible .i added a print string to see that the connection flows ...and yes it works

01.png (549.6 kB)
02.png (139.1 kB)
03.png (252.4 kB)
04.png (195.3 kB)
avatar image MajinSephiroth Oct 13 '16 at 08:06 PM

You did not follow step 1 .... you did not give your references to your widgets. Notice how after the widget is created, cone reference is passed to it.

Like I said, everything you need is right there :)

Step 1

avatar image jaiki69 Oct 14 '16 at 08:41 AM

changing the material is over changing the mesh i got it but when i change the mesh the buttons are not updating the materia tothe next modle.

avatar image jaiki69 Oct 13 '16 at 08:17 PM

finally got it thanks for giving me the hint I am new to unreal engine ... thanks for the reply...... it means a lot to Me I am working on it from a long time... thanks...

final.png (251.7 kB)
(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