Move Unit
Moves the number of units of the type from one location to the middle of another, at once.
Action 39 · Move Unit(Player, Unit, Count, From, To);
| 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 |
| Count | a number of units, 1 to 255, or All (stored as 0) | byte 27 |
| From | a location (Anywhere is location 64) | bytes 0–3 |
| To | a location (Anywhere is location 64) | bytes 20–23 |
Move Unit("Current Player", "Men", All, "Teleporter", "Exit");