(info) Other great resources: Official JS API docs, Scripting Forum

eventTransporterLaunch()

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

 

Syntax

function eventTransporterLaunch(transport) {
	// do stuff
}

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

function eventTransporterLaunch() {
	playSound("pcv441.ogg"); // Reinforcements in transit
}
Availability 3.2+

Requires:

  • Warzone 3.2 or above

Earlier versions:

Contents

Jump to:

Â