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"

How I will get name of object playing function?

Hi, I'm looking for complex solution for animation system, where more objects (specificaly buttons) are using same animations, so if u will change properties of animation it will change animation's properties for all of them. It's also important to mention that I want to build these animations and logic for them in external blueprint so I can use it in more then one project. Since I have vision but in blueprint I'm begginner (I have experiences with Scaleform tho), I runned in a problem how to get name of object, which is playing function (in my case animation)? Please check screenshots then it should be all clear (STRING VAR here means button/object's name). Thanks for your answers A.

Product Version: UE 4.13
Tags:
more ▼

asked Oct 20 '16 at 06:55 PM in Using UE4

avatar image

ameson
12 2 2 6

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

1 answer: sort voted first

What you are looking for is inheritance.

Create your animations into a "Parent" Widget blueprint. When you are done with the widget and the functionality works fine, simply extend that widget into a child and modify the child as you see fit.

All children of that widget will be able to use the animations of the parent. That way if you want to modify all children's animations, you just modify the parent widget and it will affect all children.

more ▼

answered Oct 21 '16 at 06:38 PM

avatar image

MajinSephiroth
1.2k 31 8 33

avatar image ameson Oct 24 '16 at 08:54 AM

Thank you very much :) It works cool.

(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