Overview

Instruct a VTOL to return to a rearming pad for repairs and rearming.

Availability

Warzone 3.2 and above.

 Backport to earlier versions with backport.dorder.js and backport.orderDroid.js.

Example

// use nearest available rearming pad (recommended):
if (isVTOL(myDroid)) orderDroid(myDroid,DORDER_REARM);

// use specific rearming pad:
if (isVTOL(myDroid)) orderDroidObj(myDroid,DORDER_REARM,rearmingPad);

Notes

The droid's current order can be determined from it's .order property. For more infomration see Droid object.

If you don't have any rearming pads, the VTOL will land somewhere in or near your base and won't be repaired (unless you've researched Auto-Repair tech) or rearmed.

The droid will perform several actions throughout the repair/rearm process. For more information see: Working with Repairs & Rearming.

See also