...
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
// move to specific location (assuming droid can get there) orderDroidLoc(myDroid,DORDER_MOVE,startPositions[me].x,startPositions[me].y); // move to specific object (assuming droid can get there) orderDroidObj(myDroid,DORDER_MOVE,gameObject); |
Notes
The droid's current order can be determined from it's .order
property. For more infomration see Droid object.
...
- orderDroidLoc() – order a droid to move to, or do something at, a specific location
- orderDroidObj() – order droid to move to, or do something with, a specific game object
- .order – list of all order constants
- startPositions – an array of player starting positions