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. 

How to trigger widget animations base on gameplay events?

looking to play a animation in the umg i created based on events happenening in game.

ex: player picks up health and the health bar gets birghter/glows for a second or two.

i have the animation for that creted in the UMG but im unsure how to trigger it. I tried using a BP interface to trigger it from the "mycharacter BP" but it never fires in teh UMG.

is there a proper way to trigger a widget animation based on specific events?

Product Version: Not Selected
Tags:
more ▼

asked Dec 17 '14 at 08:05 AM in Blueprint Scripting

avatar image

PhoenixWo1f
0 8 9 10

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

1 answer: sort voted first

Did you store the widget reference somewhere?

You will need that one so simply create a variable and when you create the widget set it.

Then if you trigger your pick up event you get that reference and call your function in there.

Another option (if your animation is not related to other things in that hud) would be simply creating a new widget and destroy it just after that animation.

I hope this helps.

Cheers

more ▼

answered Dec 17 '14 at 09:00 AM

avatar image

Erasio
5.9k 291 86 293

(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