UnitCommandTypes¶
Module containing unit command types.
See also
Functions¶
-
static
BWAPI.UnitCommandTypes.
allUnitCommandTypes
() → set¶ Retrieves a set of all UnitCommandTypes.
Returns: Set of all UnitCommandTypes. Return type: UnitCommandTypeset
Constants¶
All constants are instances of the UnitCommandType
class
-
BWAPI.UnitCommandTypes.
Attack_Unit
¶
-
BWAPI.UnitCommandTypes.
Attack_Move
¶
-
BWAPI.UnitCommandTypes.
Build
¶
-
BWAPI.UnitCommandTypes.
Build_Addon
¶
-
BWAPI.UnitCommandTypes.
Train
¶
-
BWAPI.UnitCommandTypes.
Morph
¶
-
BWAPI.UnitCommandTypes.
Research
¶
-
BWAPI.UnitCommandTypes.
Upgrade
¶
-
BWAPI.UnitCommandTypes.
Set_Rally_Position
¶
-
BWAPI.UnitCommandTypes.
Set_Rally_Unit
¶
-
BWAPI.UnitCommandTypes.
Move
¶
-
BWAPI.UnitCommandTypes.
Patrol
¶
-
BWAPI.UnitCommandTypes.
Hold_Position
¶
-
BWAPI.UnitCommandTypes.
Stop
¶
-
BWAPI.UnitCommandTypes.
Follow
¶
-
BWAPI.UnitCommandTypes.
Gather
¶
-
BWAPI.UnitCommandTypes.
Return_Cargo
¶
-
BWAPI.UnitCommandTypes.
Repair
¶
-
BWAPI.UnitCommandTypes.
Burrow
¶
-
BWAPI.UnitCommandTypes.
Unburrow
¶
-
BWAPI.UnitCommandTypes.
Cloak
¶
-
BWAPI.UnitCommandTypes.
Decloak
¶
-
BWAPI.UnitCommandTypes.
Siege
¶
-
BWAPI.UnitCommandTypes.
Unsiege
¶
-
BWAPI.UnitCommandTypes.
Lift
¶
-
BWAPI.UnitCommandTypes.
Land
¶
-
BWAPI.UnitCommandTypes.
Load
¶
-
BWAPI.UnitCommandTypes.
Unload
¶
-
BWAPI.UnitCommandTypes.
Unload_All
¶
-
BWAPI.UnitCommandTypes.
Unload_All_Position
¶
-
BWAPI.UnitCommandTypes.
Right_Click_Position
¶
-
BWAPI.UnitCommandTypes.
Right_Click_Unit
¶
-
BWAPI.UnitCommandTypes.
Halt_Construction
¶
-
BWAPI.UnitCommandTypes.
Cancel_Construction
¶
-
BWAPI.UnitCommandTypes.
Cancel_Addon
¶
-
BWAPI.UnitCommandTypes.
Cancel_Train
¶
-
BWAPI.UnitCommandTypes.
Cancel_Train_Slot
¶
-
BWAPI.UnitCommandTypes.
Cancel_Morph
¶
-
BWAPI.UnitCommandTypes.
Cancel_Research
¶
-
BWAPI.UnitCommandTypes.
Cancel_Upgrade
¶
-
BWAPI.UnitCommandTypes.
Use_Tech
¶
-
BWAPI.UnitCommandTypes.
Use_Tech_Position
¶
-
BWAPI.UnitCommandTypes.
Use_Tech_Unit
¶
-
BWAPI.UnitCommandTypes.
Place_COP
¶
-
BWAPI.UnitCommandTypes.
None
¶
-
BWAPI.UnitCommandTypes.
Unknown
¶
Enum¶
Enumeration of unit command types.
Important
Enum values rarely need to be used in Lua.
-
BWAPI.UnitCommandTypes.Enum.
Attack_Move
¶ Value of 0.
-
BWAPI.UnitCommandTypes.Enum.
Attack_Unit
¶ Value of 1.
-
BWAPI.UnitCommandTypes.Enum.
Build
¶ Value of 2.
-
BWAPI.UnitCommandTypes.Enum.
Build_Addon
¶ Value of 3.
-
BWAPI.UnitCommandTypes.Enum.
Train
¶ Value of 4.
-
BWAPI.UnitCommandTypes.Enum.
Morph
¶ Value of 5.
-
BWAPI.UnitCommandTypes.Enum.
Research
¶ Value of 6.
-
BWAPI.UnitCommandTypes.Enum.
Upgrade
¶ Value of 7.
-
BWAPI.UnitCommandTypes.Enum.
Set_Rally_Position
¶ Value of 8.
-
BWAPI.UnitCommandTypes.Enum.
Set_Rally_Unit
¶ Value of 9.
-
BWAPI.UnitCommandTypes.Enum.
Move
¶ Value of 10.
-
BWAPI.UnitCommandTypes.Enum.
Patrol
¶ Value of 11.
-
BWAPI.UnitCommandTypes.Enum.
Hold_Position
¶ Value of 12.
-
BWAPI.UnitCommandTypes.Enum.
Stop
¶ Value of 13.
-
BWAPI.UnitCommandTypes.Enum.
Follow
¶ Value of 14.
-
BWAPI.UnitCommandTypes.Enum.
Gather
¶ Value of 15.
-
BWAPI.UnitCommandTypes.Enum.
Return_Cargo
¶ Value of 16.
-
BWAPI.UnitCommandTypes.Enum.
Repair
¶ Value of 17.
-
BWAPI.UnitCommandTypes.Enum.
Burrow
¶ Value of 18.
-
BWAPI.UnitCommandTypes.Enum.
Unburrow
¶ Value of 19.
-
BWAPI.UnitCommandTypes.Enum.
Cloak
¶ Value of 20.
-
BWAPI.UnitCommandTypes.Enum.
Decloak
¶ Value of 21.
-
BWAPI.UnitCommandTypes.Enum.
Siege
¶ Value of 22.
-
BWAPI.UnitCommandTypes.Enum.
Unsiege
¶ Value of 23.
-
BWAPI.UnitCommandTypes.Enum.
Lift
¶ Value of 24.
-
BWAPI.UnitCommandTypes.Enum.
Land
¶ Value of 25.
-
BWAPI.UnitCommandTypes.Enum.
Load
¶ Value of 26.
-
BWAPI.UnitCommandTypes.Enum.
Unload
¶ Value of 27.
-
BWAPI.UnitCommandTypes.Enum.
Unload_All
¶ Value of 28.
-
BWAPI.UnitCommandTypes.Enum.
Unload_All_Position
¶ Value of 29.
-
BWAPI.UnitCommandTypes.Enum.
Right_Click_Position
¶ Value of 30.
-
BWAPI.UnitCommandTypes.Enum.
Right_Click_Unit
¶ Value of 31.
-
BWAPI.UnitCommandTypes.Enum.
Halt_Construction
¶ Value of 32.
-
BWAPI.UnitCommandTypes.Enum.
Cancel_Construction
¶ Value of 33.
-
BWAPI.UnitCommandTypes.Enum.
Cancel_Addon
¶ Value of 34.
-
BWAPI.UnitCommandTypes.Enum.
Cancel_Train
¶ Value of 35.
-
BWAPI.UnitCommandTypes.Enum.
Cancel_Train_Slot
¶ Value of 36.
-
BWAPI.UnitCommandTypes.Enum.
Cancel_Morph
¶ Value of 37.
-
BWAPI.UnitCommandTypes.Enum.
Cancel_Research
¶ Value of 38.
-
BWAPI.UnitCommandTypes.Enum.
Cancel_Upgrade
¶ Value of 39.
-
BWAPI.UnitCommandTypes.Enum.
Use_Tech
¶ Value of 40.
-
BWAPI.UnitCommandTypes.Enum.
Use_Tech_Position
¶ Value of 41.
-
BWAPI.UnitCommandTypes.Enum.
Use_Tech_Unit
¶ Value of 42.
-
BWAPI.UnitCommandTypes.Enum.
Place_COP
¶ Value of 43.
-
BWAPI.UnitCommandTypes.Enum.
None
¶ Value of 44.
-
BWAPI.UnitCommandTypes.Enum.
Unknown
¶ Value of 45.
-
BWAPI.UnitCommandTypes.Enum.
MAX
¶ Value of 46.