# Restart Timer

Grammar — Restart t
FlagsNative | Action

Restarts the timer specified to it’s original time.

# Arguments

  • timer — Timer

Returns — void

native void TimerRestart(timer t);

Category: Timer / Timers

# Examples

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttutorial01.sc2map/MapScript.galaxy:1125

    }

    TimerRestart(gv_timer_Legs);
    PortraitSetVisible(libNtve_gf_CinematicPortrait(4), PlayerGroupAll(), false, false);
    gf_HideReplayTransmissionButtons();

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttutorial01.sc2mapMapScript.galaxy:1125

    }

    TimerRestart(gv_timer_Legs);
    PortraitSetVisible(libNtve_gf_CinematicPortrait(4), PlayerGroupAll(), false, false);
    gf_HideReplayTransmissionButtons();

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/sc2tutorial.sc2map/MapScript.galaxy:1104

    // Implementation
    if ((gv_reminderTimer != null)) {
        TimerRestart(gv_reminderTimer);
    }
    else {

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/sc2tutorial.sc2mapMapScript.galaxy:1104

    // Implementation
    if ((gv_reminderTimer != null)) {
        TimerRestart(gv_reminderTimer);
    }
    else {

mods/heroes.stormmodbase.stormmaps/maps/heroes/singleplayermaps/%2810%29trymemode.stormmap/MapScript.galaxy:2537

                }

                TimerRestart(gv_targetDummyResetTimer);
                libNtve_gf_StopTimer(gv_targetDummyHideUITimer);
                gv_targetDummyRespawnAllowed = false;

mods/heroes.stormmodbase.stormmaps/maps/heroes/singleplayermaps/%2810%29trymemode.stormmap/MapScript.galaxy:2605


    gv_targetDummyDoNotUpdateNumbers = true;
    TimerRestart(gv_targetDummyAnyDummyInCombatTimer);
    TimerPause(gv_targetDummyAnyDummyInCombatTimer, true);
    TimerRestart(gv_targetDummyResetTimer);

mods/heroes.stormmodbase.stormmaps/maps/heroes/singleplayermaps/%2810%29trymemode.stormmap/MapScript.galaxy:2607

    TimerRestart(gv_targetDummyAnyDummyInCombatTimer);
    TimerPause(gv_targetDummyAnyDummyInCombatTimer, true);
    TimerRestart(gv_targetDummyResetTimer);
    TimerPause(gv_targetDummyResetTimer, true);
    gv_targetDummyDamageTotal = 0.0;

mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/(10)trymemode.stormmapmap/MapScript.galaxy:2537

                }

                TimerRestart(gv_targetDummyResetTimer);
                libNtve_gf_StopTimer(gv_targetDummyHideUITimer);
                gv_targetDummyRespawnAllowed = false;

mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/(10)trymemode.stormmapmap/MapScript.galaxy:2605


    gv_targetDummyDoNotUpdateNumbers = true;
    TimerRestart(gv_targetDummyAnyDummyInCombatTimer);
    TimerPause(gv_targetDummyAnyDummyInCombatTimer, true);
    TimerRestart(gv_targetDummyResetTimer);

mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/(10)trymemode.stormmapmap/MapScript.galaxy:2607

    TimerRestart(gv_targetDummyAnyDummyInCombatTimer);
    TimerPause(gv_targetDummyAnyDummyInCombatTimer, true);
    TimerRestart(gv_targetDummyResetTimer);
    TimerPause(gv_targetDummyResetTimer, true);
    gv_targetDummyDamageTotal = 0.0;