SC2Mapster.com Wiki

Galaxy / Triggers / Category Timer

Timer

Timer Windows

Elapsed Time Of Timer

  • Returns the amount of time that has elapsed for the specified timer.

Remaining Time Of Timer

  • Returns the remaining amount of time left on the specified timer.

Create Timer Window

  • Creates a new timer window for the timer. After creation the timer window must be shown for it to appear. Use "Show/Hide Timer Window" to show the window.

Destroy Timer Window

  • Destroys the specified timer window.

Last Created Timer Window

  • Returns the last timer window created using the "Create Timer Window" action.

Reset Timer Window Position

  • Moves the timer window to the default position along the right edge of the screen.

Set Timer Window Color

  • Sets the color and transparency for the specified timer window.

Set Time Format For Timer Window

  • Sets the time format for the specified timer.

Set Gap Width For Timer Window

  • Sets the width of the gap between the title and time text when using horizontal styles.

Move Timer Window

  • Moves the timer window to the specified screen position. The X coordinate corresponds to the right side of the timer window.

Set Style For Timer Window

  • Sets or changes the style of the specified timer window.

Set Timer For Timer Window

  • Sets the timer for the specified timer window.

Set Title For Timer Window

  • Sets the title text for the specified timer window.

Show/Hide Timer Window

  • Shows or hides the specified timer window.

Timer Window Is Visible

  • Returns ture if the timer window is visible for the specified player.

Timers

Triggering Timer

  • Returns the timer that set off a trigger's "Timer Expires" event.

New Timer

  • Creates a new timer.

Duration Of Timer

  • Returns the duration left of the timer.

Timer Is Paused

  • Returns true if the timer has been paused.

Last Started Timer

  • Returns the last timer started via a "Start Timer" action in the trigger.

Pause/Unpause Timer

  • Pauses or resumes a timer.

Restart Timer

  • Restarts the timer specified to it's original time.

Start Timer

  • Starts a timer, which will automatically count down from the given duration as the game runs. A repeating timer will restart itself whenever it expires (reaches 0 remaining time).

You must login to post a comment. Don't have an account? Register to get one!

  • 1 comment
  • Avatar of SpaceKookie SpaceKookie Feb 24, 2011 at 07:18 UTC - 0 likes

    Hi,
    I have a question regarding timers.
    I have a trigger that should kick in after a vertain time (like 4-5 seconds)
    But when I put a new trigger in:

    Wait for (New Timer) to have 5 seconds Elapsed

    just nothing happens :(
    Can anyone help me out here?

  • 1 comment