Modify Unit Hanger Count
Adds the amount of interceptors to carriers, or scarabs to reavers, for the number of units of the type in the location, up to the most each can hold.
Action 53 · Modify Unit Hanger Count(Player, Unit, Amount, Count, Location);
| Argument | Takes | Stored in the action |
|---|---|---|
| Player | a player or group | bytes 16–19 |
| Unit | a unit type, or one of the unit classes | bytes 24–25 |
| Amount | a whole number, 0 to 4,294,967,295 | bytes 20–23 |
| Count | a number of units, 1 to 255, or All (stored as 0) | byte 27 |
| Location | a location (Anywhere is location 64) | bytes 0–3 |
Modify Unit Hanger Count("Current Player", "Protoss Carrier", 8, All, "Anywhere");