archive by month
Skip to content

mysterious undocumented orders

At any given time, a unit has an order: See BWAPI::Orders Namespace Reference. That page is the only documentation I know of, and it doesn’t explain what any of the orders means.

There are a lot of possible orders. A great many are self-explanatory—Die, I think I know what that one is for. Some are familiar because they are common or because I have dealt with them before, like PlayerGuard and ResetCollision. Some I can guess are probably used by neutral units, like OpenDoor. And some don’t appear to make sense at all. What is CarrierIgnore2? What is JunkYardDog? I have no idea.

It would be nice to have a short explanation of each order. Anybody have a list, or a start on one?

Steamhammer has a configuration option to draw each unit’s order in cyan underneath the unit on the screen. It’s handy for seeing what the units are doing, and it makes it easy to figure out what the common orders are. It is not so helpful for rare orders, or orders which are active for such a short time that you don’t notice the order name flashing by.

Update: Commenter Yeg pointed out what I was looking for: Orders.dat Entry Listing.

Trackbacks

No Trackbacks

Comments

McRave on :

An odd one is ghost orders when casting a Nuke.

They do Orders::CastNuclearStrike -> Orders::NukePaint -> Orders::NukeTrack if I remember correctly.

3 orders to track to successfully cast a nuke!

jtolmar on :

Junk Yard Dog is the order given to neutral critters; it orders them to move to a random nearby point and picks a new one every few seconds. There's also a built-in (but hidden in the editor) AI script that gives it to all units in an area.

A lot of the more mysterious orders are components of other orders, variants of other orders (like medic healmove is swapped out for attackmove), or parts of unit initialization or state change. You're not supposed to be able to manually choose them but maybe there are tricks possible if you do?

I have no clue what's going on with the various harvest orders.

Yeg on :

This might be of use:
http://staredit-network.wikia.com/wiki/Orders.dat_Entry_Listing

Add Comment

E-Mail addresses will not be displayed and will only be used for E-Mail notifications.

To prevent automated Bots from commentspamming, please enter the string you see in the image below in the appropriate input box. Your comment will only be submitted if the strings match. Please ensure that your browser supports and accepts cookies, or your comment cannot be verified correctly.
CAPTCHA

Form options

Submitted comments will be subject to moderation before being displayed.