Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Specifically, if you don't specify a location when issuing the DORDER_RETREAT order, Warzone will look to see if there's a pre-defined retreat point. If it finds one, the droid will move towards it. If it doesn't find one, it will try moving to 0,0 or maybe just stop moving. If you try this order, or know how to define retreat positions, please post a comment below to let us know what happens!which on most maps will be inaccessible so it will stop moving. It appears that in most games the pre-defined retreat point is the player's starting position.

In addition, it looks like DORDER_RETREAT is treated as a "morale failure" state or possibly prevents morale failure from happening. Again, if you can help clarify please post a comment on this page!

I suggest you use DORDER_RTB (return to base), DORDER_RTR (return to repair) or DORDER_REARM (return to rearming pad - VTOLs only) instead of DORDER_RETREAT. You could even use DORDER_MOVE in conjunction with your start position.

See also

  • Droids – quick reference of API features relating to droids
  • DORDER_REARM – make a VTOL droid return to a rearming pad
  • DORDER_RTB – make a droid return to base
  • DORDER_RTR – make a droid return to a repair station
  • orderDroidObj() – tell a droid to do something to something