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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Widget fade out with boxtrigger

Hi, I have managed to fade my widget in but I am looking for a way to fade it out once the player has left the area of the box trigger. At the moment it just cuts out. Is there a way to reverse the animation once the player has left the trigger?

alt text

Product Version: UE 4.15
Tags:
widget_bp.jpg (181.5 kB)
level_bp.jpg (98.1 kB)
more ▼

asked Mar 17 '17 at 11:30 AM in Blueprint Scripting

avatar image

WSimpson
1 1 3 8

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

1 answer: sort voted first

When using the Play Animation node in your Widget Blueprint, you can set the animation to play in reverse, you could create a custom event in your Widget class that does something like the below, then on the OnEndOverlap event above, call that event in your widget instead of using Remove from Parent.

alt text

wb2.png (76.8 kB)
more ▼

answered Mar 17 '17 at 12:46 PM

avatar image

Mosel3y
1.8k 49 20 67

avatar image WSimpson Mar 17 '17 at 01:16 PM

Thanks, but I am not sure how to connect the end overlap box in my level blueprint to the animation box in my widget graph.

avatar image Mosel3y Mar 17 '17 at 01:28 PM

Make a custom event in your widget that plays the animation in reverse, the on the end overlap call this event.

alt text

edit: The custom event should connect to what i posted in my my above answer.

levelblueprint.png (94.7 kB)
avatar image WSimpson Mar 17 '17 at 02:06 PM

Lovely, that worked perfectly. Thank you.

(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