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

eventTransporterLanded()

Triggered when a transporter lands...

 

Syntax

function eventTransporterLanded(transport) {
	// do stuff
}

Parameters

ParameterTypeMandatoryNotesGame version
transportDroid object(tick)The transporter that just landed.3.2

Return value

Warzone does not process the return value of this event.

Notes

You can use enumCargo() to get a list of droids on the transport.

Example

function eventTransporterLanded(transport) {
	enumCargo(transport).forEach( function disembark(droid) {
		orderDroid(droid, DORDER_DISEMBARK);
	}
}
Availability 3.2+

Requires:

  • Warzone 3.2 or above
Contents

Jump to: