Post by Masi on Apr 13, 2016 0:14:02 GMT
Preview:
Put this in Icons:
Icons>Edit>Paste whats below>Load icons + make sure 'Enable Icons' is ticked
Script:
Put it into hotkeys>edit (make sure you click save and have 'Persistent' ticked)
Put this in Icons:
Icons>Edit>Paste whats below>Load icons + make sure 'Enable Icons' is ticked
[Icons]
Name: TOP LEFT
Enabled: yes
DrawAsBackground: no
Size: Large
LeftCommand: set $depo topleft
RightCommand:
State: Inactive
IconType: Center
IconIds: 3499 0 0 0
BkgType: Center
BkgIds: 0 0 0 0
AlignX: Absolute
PositionX: 1025
AlignY: Absolute
PositionY: 0
Text: TOP-LEFT
TextColor: 65535
HoverColor: 65535
State: Active
IconType: Center
IconIds: 3499 0 0 0
BkgType: Center
BkgIds: 0 0 0 0
AlignX: Absolute
PositionX: 1025
AlignY: Absolute
PositionY: 0
Text: TOP-LEFT
TextColor: 65535
HoverColor: 65535
Name: TOP RIGHT
Enabled: yes
DrawAsBackground: no
Size: Large
LeftCommand: set $depo topright
RightCommand:
State: Inactive
IconType: Center
IconIds: 3499 0 0 0
BkgType: Center
BkgIds: 0 0 0 0
AlignX: Absolute
PositionX: 1100
AlignY: Absolute
PositionY: 0
Text: TOP-RIGHT
TextColor: 65535
HoverColor: 65535
State: Active
IconType: Center
IconIds: 3499 0 0 0
BkgType: Center
BkgIds: 0 0 0 0
AlignX: Absolute
PositionX: 1100
AlignY: Absolute
PositionY: 0
Text: TOP-RIGHT
TextColor: 65535
HoverColor: 65535
Name: BOT-LEFT
Enabled: yes
DrawAsBackground: no
Size: Large
LeftCommand: set $depo botleft
RightCommand:
State: Inactive
IconType: Center
IconIds: 3499 0 0 0
BkgType: Center
BkgIds: 0 0 0 0
AlignX: Absolute
PositionX: 1025
AlignY: Absolute
PositionY: 75
Text: BOT-LEFT
TextColor: 65535
HoverColor: 65535
State: Active
IconType: Center
IconIds: 3499 0 0 0
BkgType: Center
BkgIds: 0 0 0 0
AlignX: Absolute
PositionX: 1025
AlignY: Absolute
PositionY: 75
Text: BOT-LEFT
TextColor: 65535
HoverColor: 65535
Name: BOT-RIGHT
Enabled: yes
DrawAsBackground: no
Size: Large
LeftCommand: set $depo botright
RightCommand:
State: Inactive
IconType: Center
IconIds: 3499 0 0 0
BkgType: Center
BkgIds: 0 0 0 0
AlignX: Absolute
PositionX: 1100
AlignY: Absolute
PositionY: 75
Text: BOT-RIGHT
TextColor: 65535
HoverColor: 65535
State: Active
IconType: Center
IconIds: 3499 0 0 0
BkgType: Center
BkgIds: 0 0 0 0
AlignX: Absolute
PositionX: 1100
AlignY: Absolute
PositionY: 75
Text: BOT-RIGHT
TextColor: 65535
HoverColor: 65535
Name: STOP
Enabled: yes
DrawAsBackground: no
Size: Large
LeftCommand: clear $depo
RightCommand:
State: Inactive
IconType: Center
IconIds: 3499 0 0 0
BkgType: Center
BkgIds: 0 0 0 0
AlignX: Absolute
PositionX: 1025
AlignY: Absolute
PositionY: 150
Text: STOP
TextColor: 65535
HoverColor: 65535
State: Active
IconType: Center
IconIds: 3499 0 0 0
BkgType: Center
BkgIds: 0 0 0 0
AlignX: Absolute
PositionX: 1025
AlignY: Absolute
PositionY: 150
Text: STOP
TextColor: 65535
HoverColor: 65535
Name: MOVE
Enabled: yes
DrawAsBackground: no
Size: Large
LeftCommand: if [$depo == topleft] { moveitemonground [$posx] [$posy-1] [$posz] [$posx+1] [$posy-1] [$posz] } | if [$depo == topright] { moveitemonground [$posx] [$posy-1] [$posz] [$posx-1] [$posy-1] [$posz] } | if [$depo == botleft] { moveitemonground [$posx] [$posy+1] [$posz] [$posx+1] [$posy+1] [$posz] } | if [$depo == botright] { moveitemonground [$posx] [$posy+1] [$posz] [$posx-1] [$posy+1] [$posz] }
RightCommand:
State: Inactive
IconType: Center
IconIds: 3499 0 0 0
BkgType: Center
BkgIds: 3499 0 0 0
AlignX: Absolute
PositionX: 1100
AlignY: Absolute
PositionY: 150
Text: MOVE
TextColor: 65535
HoverColor: 65535
State: Active
IconType: Center
IconIds: 3499 0 0 0
BkgType: Center
BkgIds: 3499 0 0 0
AlignX: Absolute
PositionX: 1100
AlignY: Absolute
PositionY: 150
Text: MOVE
TextColor: 65535
HoverColor: 65535
Script:
Put it into hotkeys>edit (make sure you click save and have 'Persistent' ticked)
auto 1 dontlist | if [$depo == topleft] { moveitemonground [$posx+1] [$posy-1] [$posz] [$posx] [$posy-1] [$posz] }
auto 1 dontlist | if [$depo == topright] { moveitemonground [$posx-1] [$posy-1] [$posz] [$posx] [$posy-1] [$posz] }
auto 1 dontlist | if [$depo == botleft] { moveitemonground [$posx+1] [$posy+1] [$posz] [$posx] [$posy+1] [$posz] }
auto 1 dontlist | if [$depo == botright] { moveitemonground [$posx-1] [$posy+1] [$posz] [$posx] [$posy+1] [$posz] }