Announcement

Collapse
No announcement yet.

Trigger character animation from UMG

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Trigger character animation from UMG

    How can I trigger the character to play an animation from inside a umg menu?

    #2
    The umg menu needs to he attached to the screen.
    then you would have to get a reference to all actors and individualize the main character or the one you need the animation played on, then a cast to to make sure you are using that character, then triggering of a variable.

    the rest would be handled in the anim BP like any other animation that you triggered a value for.

    The cast to and spotting of the correct thing can be complicated but it is entirely unique to your project. You need to find the correct way/name/reference.

    A workaround would be to trigger a custom function within the main level which can access more then the widget blueprint and produce the same cast to on that custom call. Same idea. Trigger a variable within the character, hook it up to an animation.

    Comment


      #3
      Hi, Have you got it? I have the same question.

      Comment

      Working...
      X