Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Excerpt

This event triggers when the mission timer runs out...

 

Syntax

Code Block
themeRDark
languagejavascript
linenumberstrue
function eventMissionTimeout()

...

An event that is run when the mission timer has run out.

...

 {
	// do stuff
}

Parameters

No parameters.

Return values

The JS API does not process the return value of this event handler.

Examples

Code Block
themeRDark
languagejavascript
titleCause game over when the timer runs out...
linenumberstrue
function evnetMissionTimeout() {
	gameOverMessage(false); // user loses game
} 
Div
classbox
Availability
Status
colourGreen
title3.1 b1+

Requires:

  • Warzone 3.1 Beta 1 or above
Div
classbox
Contents

Jump to:

Table of Contents
maxLevel5

Div
classbox

See also

Related articles: