Action Position Limits
Last updated: 11/17/2025
Multiple action functions, like move and build, only work up, down left or right of a units position. Here's an example based on the core_action_move function:
*123456
1......
2......
3......
4...u..
5......
6......
Say we have unit u at [4,4]. The move action will fail if you try to move it anywhere but [3,4], [4,3], [5,4], [4,5]. Diagonal movement does not exist.
We use absolute positions even if almost none of them are valid as converting to a relative position would be annoying and unnecessary in most pathfinding-related scenarios.