Other great resources: Official JS API docs, Scripting Forum
DORDER_EMBARK
order a droid to go in to a DROID_TRANSPORTER
currently there's no way to work out what sort of transporter it is - a cyborg transport should only contain cyborgs, a heavy transport can contain anything (incl. vtols).
also, number of units you can put on a transport is different (I think?) between cyborg trans and heavy trans?
there's also no way to know how many droids are on a transport (so no way to know if there's available slots that can hold additional droids).
meh.