BWAPI
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Enumerations
BW::MovementFlags Namespace Reference

Enumerations

enum  Enum {
  OrderedAtLeastOnce = 0x01, Accelerating = 0x02, Braking = 0x04, StartingAttack = 0x08,
  Moving = 0x10, Lifted = 0x20, unknown1 = 0x40, _alwaysZero1 = 0x80
}

Detailed Description

Definition of Flags specifying movement type - used in BW::Unit::movementFlags


Enumeration Type Documentation

Enumerator:
OrderedAtLeastOnce 
Todo:
investigate more. It get's to 0 after the first move-involved command - sometimes get's to 1 again
Accelerating 

Unit is accelerating

Braking 

Not when unit reaches destination, just when you hit stop, or building is finished

StartingAttack 
Moving 

Always 1 for a moment when the unit is starting new attack cycle Still moving, but not accelerating

Lifted 

Lifted cc has this on (just before it moves)

unknown1 

The value is unknown, but it has something to do with changing direction& accelerating

_alwaysZero1 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines