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

DROID_TRANSPORTER

Overview

A cyborg transporter (or possibly a super transporter in Warzone 3.1 Beta 4 and earlier), capable of airlifting droids to some other location on the map.

Availability

Warzone 3.1 Beta 1 and above. It's recommended that you avoid using transporters (of any kind) prior to Warzone 3.1 Beta 5.

In Warzone 3.1 Beta 4 and earlier, DROID_TRANSPORTER could be either a cyborg transport or a super transport. The only way to differentiate would be by inspecting the .name property of the Droid object.

In Warzone 3.1 Beta 5 and later, DROID_TRANSPORTER is used exclusively for cyborg transports and DROID_SUPERTRANSPORTER is used exclusively for super transports.

Notes

You can put droids on to a transport using using the orderDroidObj() function, telling them to DORDER_EMBARK, and take them off a transport with DORDER_DISEMBARK.

It's not currently possible to determine how many droids can be put on the transport. To further complicate matters, there's currently no way to determine how many droids are on a given transport so you have no idea if it's full, empty or somewhere in between.

The transport can be moved around the map using the orderDroidLoc() function, with a command of DORDER_MOVE.

There doesn't seem to be any way to determine when a transport has arrived at it's location (eventDroidIdle() might get fired, but I've not tested).

See also

  • DORDER_DISEMBARK – tell a droid to disembark (move out of) a transporter
  • DORDER_EMBARK – tell a droid to embark (move on to) a transporter
  • DROID_SUPERTRANSPORTER – a heavy transport capable of carrying any type of droid (including VTOLs)
  • orderDroidLoc() – move the transport to a new location on the map
  • orderDroidObj() – order droids to embark or disembark a transporter