Triggers/Category Timer

From SC2Mapster Wiki
Jump to: navigation, search

Timer Windows[edit | edit source]

Elapsed Time Of Timer[edit | edit source]

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

Remaining Time Of Timer[edit | edit source]

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

Create Timer Window[edit | edit source]

  • Action. 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[edit | edit source]

  • Action. Destroys the specified timer window.

Last Created Timer Window[edit | edit source]

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

Reset Timer Window Position[edit | edit source]

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

Set Timer Window Color[edit | edit source]

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

Set Time Format For Timer Window[edit | edit source]

  • Action. Sets the time format for the specified timer.

Set Gap Width For Timer Window[edit | edit source]

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

Move Timer Window[edit | edit source]

  • Action. 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[edit | edit source]

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

Set Timer For Timer Window[edit | edit source]

  • Action. Sets the timer for the specified timer window.

Set Title For Timer Window[edit | edit source]

  • Action. Sets the title text for the specified timer window.

Show/Hide Timer Window[edit | edit source]

  • Action. Shows or hides the specified timer window.

Timer Window Is Visible[edit | edit source]

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

Timers[edit | edit source]

Triggering Timer[edit | edit source]

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

New Timer[edit | edit source]

  • Action. Creates a new timer.

Duration Of Timer[edit | edit source]

  • Function. Returns the duration left of the timer.

Timer Is Paused[edit | edit source]

  • Function. Returns true if the timer has been paused.

Last Started Timer[edit | edit source]

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

Pause/Unpause Timer[edit | edit source]

  • Action. Pauses or resumes a timer.

Restart Timer[edit | edit source]

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

Start Timer[edit | edit source]

  • Action. 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).