Move Location
Centres the second location (Move) on a unit of the type owned by the player inside the first (Unit at). Following a unit with a location, so that other triggers can act around it, is done with this.
Action 38 · Move Location(Player, Unit, Unit at, Move);
| 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 |
| Unit at | a location (Anywhere is location 64) | bytes 0–3 |
| Move | a location (Anywhere is location 64) | bytes 20–23 |
Move Location("Current Player", "Terran Marine", "Anywhere", "Hero");