Versions Compared

Key

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

Triggered when a mission transporter has been instructed to launch....

 

Syntax

Code Block
themeRDark
languagejavascript
linenumberstrue
function eventTransporterLaunch(transport) {
	// do stuff
}

Parameters

This event has no parameters.
ParameterTypeMandatoryNotesGame version
transportDroid object(tick)The transporter that was launched.3.2

Return value

Warzone does not process the return value of this event.

Notes

In a campaign mission, when the transport is launched it will fly to the co-ordinates defined by setTransporterExit() and then leave the map.

Example

Code Block
themeRDark
languagejavascript
linenumberstrue
function eventTransporterLaunch() {
	playSound("pcv441.ogg"); // Reinforcements in transit
}
Div
classbox
Availability
Status
colourYellow
title3.2+

Requires:

  • Warzone 3.2 or above

Earlier versions:

Div
classbox
Contents

Jump to:

Table of Contents
maxLevel5