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

startTransporterEntry()

Bring a mission transporter on to the map...

 

Syntax

startTransporterEntry(x, y, player);

Parameters

ParameterTypeMandatoryNotesGame version
xNumber(tick)The x co-ordinate where the transport should appear from.3.2
yNumber(tick)The y co-ordinate where the transport should appear from.3.2
playerNumber(tick)The ID of the player who the transport belongs to.3.2

Return value

(question)

Notes

This function is primarily designed for use in campaign missions. In other game modes, it would probably be better to use addDroid() instead.

When specifying the co-ordinates where the transport appears from, you should ideally choose a position at the edge of the map, otherwise it will look like the transport just appeared out of nowhere.

The droids on the transport can be defined in mdroid.ini (about which I know nothing – please provide details if you know more!)

When the transport arrives, eventTransporterArrived() will be triggered.

Example

startTransportEntry(47, 0, me);
Availability 3.2+

Requires:

  • Warzone 3.2 or above
Contents

Jump to:

Scripting: Droids

Related objects:

Constants:

  • .action – what action is the droid doing?
  • .droidType – what category of droid is it?
  • .order – what is the droids order?

Create them:

Organise them:

List or count them:

Tell them what to do:

How to's:

Transfer them between players:

Find out what's happening to droids:

Remove them:

Player Initialisation: