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"

Construction script play child actor animation?

I have a blueprint referencing a child actor that has two distinct states (a door that is locked or unlocked with some animation inbetween via a timeline). The parent blueprint should have the child actor start in the non-default of the two states so I'm trying to call a function that plays an unlock animation and leaves all the meshes in the proper configuration of location and rotation settings thereafter, but it's not working. When I compile I can see the dots from the constructor script making it to the function call of the child actor and calling the same function from a player-triggered event works, but it doesn't appear to do anything from the construction script. It is called as:

alt text

Do timelines not work from within construction scripts? Should I go at this as a static setting for the unlocked door state instead of trying to call the function that plays the timeline?

Product Version: Not Selected
Tags:
untitled.png (68.3 kB)
more ▼

asked Mar 21 '15 at 05:30 PM in Blueprint Scripting

avatar image

CoryG
123 13 20 30

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

1 answer: sort voted first

Looks like the initial hunch was right - timelines don't work in construction scripts but you can manually set relative locations and rotations in a function called from a construction script. Incidentally, a copy/paste ability would be really useful when making blueprints.

more ▼

answered Mar 21 '15 at 05:53 PM

avatar image

CoryG
123 13 20 30

(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