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"

Play timeline inside loop

I have an array of static mesh components, for each object i need to move it from it's current pos to another pos in 0.2 seconds, so i wanted to do something like a foreach loop and lerping the positions with a timeline, the thing is the loop doesn't wait for the timeline to be finished but i need it to.

I have tried putting the timeline and the set relative location inside a custom event and then calling the event from the loop but it doesn't work, i mean, i don't see the components moving. alt text

alt text

Product Version: Not Selected
more ▼

asked May 01 '15 at 11:03 PM in Blueprint Scripting

avatar image

198 38 36 43

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

3 answers: sort voted first

Because there is only one instance of your Timeline. You're telling one time line multiple times to play from start.

The right solution would be this:


Replace everything after the foreach loop so it fits your needs.


more ▼

answered May 01 '15 at 11:41 PM

avatar image

1.9k 61 52 191

avatar image DylanVelez May 02 '15 at 01:43 AM

worked like a charm, thank you very much. this was bugging me for days

avatar image ForRedrain Jan 31 '18 at 09:59 PM

where is the picture oh god :(

avatar image Mighty Marcos Feb 10 '18 at 05:14 PM

Where has it gone? D:

avatar image Xx_Globillum_xX Feb 02 '18 at 02:22 AM

I know ! so close...

avatar image Pavelioso Nov 27 '18 at 02:54 PM

Oh no, the picture!

avatar image 春花江雪度余年 Jun 27 '19 at 02:06 PM

Hi,Could any body give me a shortcut of solution? I got same problem.

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

Hey Azarus,

I know the post is a bit old, but I wanted to know, how could I add a delay in this setup so each objects use the same timeline but at a different frame ?

What I want to do is simple, I have 10 objects, I want them to move to a location at a different time. I don't want to create 10 timelines + 10 delays as I will have more objects later ( maybe 50 ).

Many thanks .

more ▼

answered Mar 26 '16 at 06:50 PM

avatar image

46 13 12 19

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

Put delay node inside of for loop and create new macro...
Try to set delay time with the equal time elapse in timelinealt text

Also you can watch unreal engine trainings which Zac Perish teachs on youtube.
-> For loop with delay

capture.png (169.1 kB)
more ▼

answered Feb 03 '18 at 06:41 PM

avatar image

21 1 3

(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