Variable Chasing: How I can create a Time Cycle Reset Mechanic?

I joined the Forums a year ago, and now giving the Unreal Engine 4 a shot.
Using the 4.27.2 version of the Unreal Engine.

I got used to Overwatch Game’s Workshop feature, which had conditions and actions like Chase Variable Over Time and Chase Variable At Rate Per Second.

I’m trying to make a Time Cycle Reset Mechanic in Unreal Engine, that activates Globally, when the clock reaches… 6 AM for ex.

When that happens, time slows down at the rate of the set value until it reaches it’s destination value.

Here’s how it looks like in the game:

Action: Start Chasing Global Variable At Rate
Global Variable: VAR_Game_Motion
Rate: 1,0
Destination: 0,0

Trying to find something similar in UE, but I can’t find it. Any help?

I’m also trying to make the Aiming Speed of the player, to be affected by the Time Cycle Reset.

you need to learn 2 things :face_in_clouds:

The Timeline node doesn’t have float outputs like 0-10 or G-Track like in the vids.

I just want the float of the Time Dilation to be gradually modified at a specific rate, cuz I don’t want to go for a longer way:
Time Dilation - 0.9
Delay - 0.1
Time Dilation - 0.8
Delay - 0.1
And so on until reaching 0.01.

Just what am I doing wrong?

Double click the timeline and add a float track :face_in_clouds:

Justo copy this :sweat_smile:


time dilatation default value = 1

Got it working a little. I also added a sound for the Time Freezing, but… it doesn’t seem to execute. Even with Finished Exec connected to the branch. I guess the Timeline node is still working, despite of being told to Stop, once the B Float Variable Value is reached.
Placing a Less than Equals (<=) B Float, when having the Update Exec connected to that Branch makes the Time Freezing execute endlessly, instead of once.

I’m stupid. Forgot to set the length inside the Timeline, which makes a reason, why Finished Exec was not running. Time Freeze finally working. Now… a time rewind. Global Time Dilation set to -1 doesn’t seem to work, only makes the Time stop completely.