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

eventTransporterArrived()

Triggered when a mission transporter has arrived on the map with reinforcements....

 

Syntax

function eventTransporterArrived(transport) {
	// do stuff
}

Parameters

ParameterTypeMandatoryNotesGame version
transportDroid object(tick)The transporter that has arrived.3.2

Return value

Warzone does not process the return value of this event.

Notes

This event is triggered when a transport arrives on the map at the location set by startTransporterEntry(). It will then proceed to (the nearest?) landing zone.

This event is useful for determining if the LZ is safe, and if not sending the transport back to base.

If the transport goes on to successfully land, eventTransporterLanded() will be triggered.

Example

function eventTransporterArrived() {
	playSound("pcv442.ogg"); // Reinforcements landing
}
Availability 3.2+

Requires:

  • Warzone 3.2 or above

Earlier versions:

Contents

Jump to:

Â