Quarry target category
Broad target categories a team attack mission scans for, and that a house records as its preferred target.
- Engine enum
QuarryType- Input form
- Integer
A quarry is the kind of object a team is hunting rather than any one target it has picked. The category is accordingly a filter on a whole-map scan: a team’s attack mission hands it to a member of the team, and target selection decides which candidates that category admits and scores what survives. A value outside the list is treated the same way as category 0 — no target is assigned, and the team is marked ready for its next mission.
The categories have a second consumer that is not a scan at all: Preferred target… stores one on a house rather than handing it to a team, and that page covers what becomes of it.
Values
10 of 10
| Input | Meaning | Engine constant | Stored value |
|---|---|---|---|
0 | No category, and no target is assigned. | QUARRY_NONE | 0 |
1 | Any suitable enemy. | QUARRY_ANYTHING | 1 |
2 | Buildings in general. | QUARRY_BUILDINGS | 2 |
3 | Harvesters or refineries. | QUARRY_HARVESTERS | 3 |
4 | Infantry. | QUARRY_INFANTRY | 4 |
5 | Combat vehicles. | QUARRY_VEHICLES | 5 |
6 | Production factories. | QUARRY_FACTORIES | 6 |
7 | Base-defense buildings. | QUARRY_DEFENSE | 7 |
8 | Runs the same unrestricted scan as category 1; nothing measures proximity to a base. | QUARRY_THREAT | 8 |
9 | Power facilities. | QUARRY_POWER | 9 |
No enum values match this filter.
Used by
- Preferred target...
TACTION_PREFERRED_TARGET - Attack...
TMISSION_ATTACK
Source files
Linked at revision 59fae722af8c.