Skip to content

Timer component: pause/resume #996

Open
@Vince0789

Description

@Vince0789

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions