move-screen-pos Command
Moves the map in a relative way using screen width and height as units.
Usage
move-screen-pos
[x=<screen dx>]
[y=<screen dy>]
All parameters are optional:
- x: specifies the amount to move the map position on the horizontal (X) axis. Positive values move the position to the right (east). Negative values move the position to the left (west). Value of 1 moves the map by the whole screen width. Value of 0.5 moves the map by a half of the screen width.
- y: specifies the amount to move the map position on the vertical (Y) axis. Positive values move the position downwards (south). Negative values move the position upwards (north). Value of 1 moves the map by the whole screen height. Value of 0.5 moves the map by a half of the screen height.
Examples
move-screen-pos x=0.5
Moves the map position to the right by half of the screen width.
move-screen-pos y=-2
Moves the map position upwards by two screen heights.
move-screen-pos x=-0.5 y=-0.5
Moves the map position to the left by half of the screen width and upwards by half of the screen height.