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"

Stop all timelines?

Is there a way to stop multiple timelines? I have a drum machine that plays different beats to witch is timelines using events, however there is a timeline for each beat and i want to make sure all timelines stop as each beat is changed. below as you can see its a spaghetti mess.

as of right now I'm using a sequence node to stop the other timelines incase they are running, it works but there has got to be a simpler way to do this. as I add more and more lesson beats its going to get even more ugly.

Please say there is a way i can stop all timelines then start the timeline that is being called.

alt text

Product Version: UE 4.20
Tags:
screenshot-7.png (128.3 kB)
more ▼

asked Aug 14 '19 at 07:43 AM in Blueprint Scripting

avatar image

frostic
52 2 4 10

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

2 answers: sort voted first

Someone messaged me and told me if you pull your timelines from the components tab in the bp you can get start and stop from them so I got it working and the huge spaghetti mess is gone.

This is answered.

alt text

screenshot-9.png (393.8 kB)
more ▼

answered Aug 14 '19 at 08:56 AM

avatar image

frostic
52 2 4 10

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

If i understood it correctly, you have to call only one timeline at time, and disable everyone else. I would create event with parameter, like ID, and with sequence node, for every lesson create a branch, and on condition create like "ID PARAMETER" not equal with "ID OF LESSON". And if it's true, stop the timeline. I hope i wrote it clear, but if not - feel free to ask.

more ▼

answered Aug 14 '19 at 08:02 AM

avatar image

SpynderMK
182 3 4 10

avatar image frostic 5 days ago

that is what i have in my widget. however there is no stop timeline except the one on the timeline node it's self. this is why i have the spaghetti mess. i can't find a node that is Stop or start timeline. only way to do it is from the timeline execution pins. i was hoping there is a stop all timelines node or an easy way to make all timelines stop. basicaly the timeline 1 is running, if i choose lesson 2 it should stop lesson 1 but the problem is if lesson 3 is running and i go back to lesson 1 it still requires the spaghetti mess to tell each timeline that is running to stop.

avatar image SpynderMK 5 days ago

oh, then i dunno about it, sorry. AFAIK there is no such special node that would disable all timelines. But you can try set time dilation to 0. Seems that time dilation also affects on timelines.

(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