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"

[Request] Timeline "reversed" event?

Hello!

Is it possible to add "Reversed" event to Timelines? It would be very useful to do things when timeline is fully reversed.

Why don't you add this from the beginning? This functionality was in UE3 matinees.

Thank you.

Product Version: Not Selected
Tags:
more ▼

asked Sep 02 '14 at 08:03 PM in Blueprint Scripting

avatar image

redbox
4.3k 81 19 104

avatar image TJ V ♦♦ STAFF Sep 02 '14 at 09:06 PM

Hi redbox,

Are you talking about adding a way of making a Matinee event playable in reverse without using blueprints?

avatar image redbox Sep 03 '14 at 06:32 AM

Hi.

No, I'm talking about Timelines in Blueprints.

Here is example:

alt text

When object is overlapped point light is on and timeline starts play animation When overlap is finished, timeline reverse it's animation, and only when it reversed and time = 0, light should be off.

So, I can't get "reversed" event in current implementation, like it was in UE3 matinee.

reversed.jpg (98.6 kB)
(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

Hi redbox,

The issue is the Timeline's variable (NewTrack0) isn't being fed into the SetVisibility. Try something like this.

Set the light back to visible, but change the Brightness to 0. Use a Set Brightness node, it will take a float for the value.

alt text

In the Timeline, set the Time to whatever time you like (mine is 2 seconds) and the Value to what Brightness you would like (mine is 10,000). Then plug the FloatTrack into the NewBrightness.

alt text

I hope that helps. If you have any other questions please feel free to ask.

TJ

more ▼

answered Sep 03 '14 at 02:30 PM

avatar image

TJ V ♦♦ STAFF
41k 1009 183 494

avatar image redbox Sep 03 '14 at 03:17 PM

The trouble is not in light or toggle. I really need to know, when timeline is reversed to 0 time. Not only in this case, but also in many others.

Ok, here is another example:

You have some sensor door, which starts to open, when some pawn enters into door's collision sphere, and starts to close when pawn leaves that sphere. And this door should play some "hammering" sound when it fully opened or closed.

To do this, you can use 2 timelines. 1st one will be started by "begin overlap", and play animation of fully opened door. and you will use it's "finished" event to play that "hammering" sound. 2nd one will be started by "end overlap", and play animation of fully closed door. and you will use it's "finished" event to play that "hammering" sound.

Or, you can use 1 timeline, which will be started on "begin overlap", and reversed on "end overlap". Here you can play opened door sound on "finished" event, but can't play closed door sound, because you don't have any "reversed" event. Ok. If you know time of opening animation, you can set some retriggerable delay, which is = time of opening animation, and play that "hammering" sound after delay.

But this is madness, because in better world, with timeline which can return "reversed" event, you can use only 1 timeline for all that script.

Hope this is clear.

avatar image TJ V ♦♦ STAFF Sep 03 '14 at 06:33 PM

Okay, I see now. You can accomplish this with one Timeline.

You will need to create a Branch before the sounds are played. I based mine of of a Vector movement track. When the Timeline finishes, if the vector equals 0 (closed) I play the closing sound. If it doesn't equal 0 (open) I play the open sound.

alt text

Here are my Timeline tracks.

alt text

avatar image TJ V ♦♦ STAFF Sep 03 '14 at 06:34 PM

If you create the trigger in the bp you may have an issue where everything tries to play at once the first time you enter the volume. If you do, you may need to adjust your triggers collision settings.

alt text

If I misunderstood anything or you have questions, please post back.

avatar image redbox Sep 04 '14 at 06:19 AM

Thank you for reply TJ.

Ok, I understand this solutions.

Maybe you still can make this topic as request for Epic devs, to add this "reversed" event to timelines in some future?

avatar image TJ V ♦♦ STAFF Sep 04 '14 at 01:50 PM

Yeah, I see how this could be handy to have. I've entered it as a feature request in our system. This doesn't mean that it 'will' be put into the engine but our developers will definitely look into it.

Thanks,

TJ

avatar image redbox Sep 04 '14 at 01:56 PM

Thank you! :)

(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