Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Timer component: pause/resume #996

Open
Vince0789 opened this issue Oct 1, 2024 · 1 comment
Open

Timer component: pause/resume #996

Vince0789 opened this issue Oct 1, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@Vince0789
Copy link

Is your feature request related to a problem? Please describe.
N/A

Describe the solution you'd like
Allow to pause and resume timers at any point. E.g. you set a timer for 5000 milliseconds. After 2000 milliseconds have passed, pause() is called on it. When resume() is called at any later point in time, the timer should continue with the 3000 milliseconds it had left when it was paused.

Describe alternatives you've considered
Can be done in Pawn by storing the remaining time using GetTimerRemaining, killing the timer and then setting it again with whatever time was left at a later point, but it seems trivial to just add it to the component and removes the need to create an extra global in Pawn.

Additional context
N/A

@Vince0789 Vince0789 added the enhancement New feature or request label Oct 1, 2024
@NoPressF
Copy link

NoPressF commented Oct 18, 2024

Timer pause and resume
#1013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants