Hello, I'm currently using a command like this to play Timeline
Timeline(play,Timeline000)->Message(Done);
Continue()@Message(Done).
If the player leaves the game window (e.g. Alt+Tab) while the timeline is playing, the timeline will pause.
and when the player returns to the game window, the Timeline will continue to play.
This is the behavior I expected
However, I found that if the player does the above, the Timeline will end too soon.
And the “lost time” seems to be equivalent to the “time when the player leaves the game window”.
How can I change this to avoid the problem of the Timeline ending early?
Timeline is end too soon
Re: Timeline is end too soon
Hi,
The Timeline() command gets the duration of the timeline and waits for that duration. By default, it uses realtime (i.e., real world clock time). If you want to handle pausing, inspect the Dialogue Manager GameObject and set Dialogue Time Mode to Gameplay.
The Timeline() command gets the duration of the timeline and waits for that duration. By default, it uses realtime (i.e., real world clock time). If you want to handle pausing, inspect the Dialogue Manager GameObject and set Dialogue Time Mode to Gameplay.
Re: Timeline is end too soon
This solved my problem perfectly.
Thank you very much.
Thank you very much.
Re: Timeline is end too soon
Glad to help!