UnitAIAction
              Bases: _DataSetIntEnums
This enum class provides the integer values used to reference the unit AI actions in the game. Used in the 'Object Has Action' condition.
Examples
Source code in AoE2ScenarioParser/datasets/trigger_lists/unit_ai_action.py
                6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68  |  | 
Attributes¶
  
CONVERT = 5
  
      class-attribute
      instance-attribute
  
¶
                
                        Value:
  
              5                Fires when a monk or missionary is converting any unit
  
GATHER = 10
  
      class-attribute
      instance-attribute
  
¶
                
                        Value:
  
              10                Fires when a villager or fishing ship is gathering resources
  
HEAL = 4
  
      class-attribute
      instance-attribute
  
¶
                
                        Value:
  
              4                Fires when a monk or missionary is healing another unit
  
HUNT = 14
  
      class-attribute
      instance-attribute
  
¶
                
                        Value:
  
              14                Fires when a hunter is gathering from a corpse of a hunted animal. Does NOT fire when the hunter is chasing the animal
  
REPAIR = 19
  
      class-attribute
      instance-attribute
  
¶
                
                        Value:
  
              19                Fires when a villager is repairing any other unit
  
TRADE = 16
  
      class-attribute
      instance-attribute
  
¶
                
                        Value:
  
              16                Fires when a trade cart is returning to any of its own player's markets
  
UNLOAD = 22
  
      class-attribute
      instance-attribute
  
¶
                
                        Value:
  
              22                Fires when a transport ship is tasked to unload objects. Note that the transport gets stuck in this state!