Other great resources: Official JS API docs, Scripting Forum

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Overview

Instruct a droid to move to a new location.

This is very similar to DORDER_SCOUT, however with DORDER_MOVE the droid is less likely to attack enemy targets while its travelling.

Availability

Warzone 3.1 Beta 1 and above.

Example

Move a droid to where I first started out on this map
orderDroidLoc(myDroid,DORDER_MOVE,startPositions[me].x,startPositions[me].y);

Notes

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

It's not clear whether you can use this constant with orderDroidObj() (please comment if you try and let me know if it works).

See also

  • orderDroidLoc() – order a droid to move to, or do something at, a specific location
  • .order – list of all order constants
  • startPositions – an array of player starting positions
  • No labels