movecreature() don't work to push player idk why what i do wrong
why this function don't work?Code:movecreature('Damien', 's')
Printable View
movecreature() don't work to push player idk why what i do wrong
why this function don't work?Code:movecreature('Damien', 's')
As I know that function has beed removed from windbot?
why? so how do to push player from x sqm to x sqm?
check this if i have lucky i can push player with magebot antipush (ps this code is for push player up to u)PHP Code:local mB = 1 --sqm to move by
local moveDirection = 'n'
auto(5000)
--Do not change. (Can change start if you want and know how.)--
local dire = {
dirs = {'n', 's', 'w', 'e', 'nw', 'ne', 'sw', 'se'},
x = {n = 0, s = 0, w = -mB, e = mB, nw = -mB, ne = mB, sw = -mB, se = mB},
y = {n = -mB, s = mB, w = 0, e = 0, nw = -mB, ne = -mB, sw = mB, se = mB}
}
local start = {x = $posx, y = $posy-1, z = $posz}
local dest = {x = start.x+dire.x[moveDirection], y = start.y+dire.y[moveDirection], z = $posz}
local itemID = topitem(start.x, start.y, start.z).id
focusclient()
wait(1000)
setsetting('Settings/ClickWaitTime', '1 to 1 ms')
setsetting('Settings/PressWaitTime', '1 to 1 ms')
useitemon('desintegrate rune', 0, ground($posx, $posy-1, $posz))
wait(10)
setsetting('Settings/ClickWaitTime', '1 to 1 ms')
setsetting('Settings/PressWaitTime', '1 to 1 ms')
moveitems(99, ground(dest.x, dest.y, dest.z), ground(start.x, start.y, start.z), 100)
end
The F^%&? It WORKS
Made HUD out of it allready :p
With option of Desintegrrate/firefield
Select target with follow or attack
Select direction of push ;p
Attachment 15824
but i use only windbot not magebot
but he only standind don't trashing, he standing on 1 sqm and i must push him to move when i pushing him he will back on this same sqm i need action to push him and go to refil, and when i i finish refil i need again action to pussh him but now on north, and go exp sry for my rip eng
this code for push north and then move north, use in cavebot put stand, action (this code) and after this action location checker if u dont pass go back to action with push if u dont know how to edit i cant help its very simple code this code is easy to edit / modifyPHP Code:local mB = 1 --sqm to move by
local moveDirection = 'n' -- wherei should push char
auto(5000)
--Do not change. (Can change start if you want and know how.)--
local dire = {
dirs = {'n', 's', 'w', 'e', 'nw', 'ne', 'sw', 'se'},
x = {n = 0, s = 0, w = -mB, e = mB, nw = -mB, ne = mB, sw = -mB, se = mB},
y = {n = -mB, s = mB, w = 0, e = 0, nw = -mB, ne = -mB, sw = mB, se = mB}
}
local start = {x = $posx, y = $posy-1, z = $posz} -- $posy-1(north), $posy+1(south), $posx-1(west), $posx+1(east) - just choose where is char to push
local dest = {x = start.x+dire.x[moveDirection], y = start.y+dire.y[moveDirection], z = $posz}
local itemID = topitem(start.x, start.y, start.z).id
setsetting('Settings/ClickWaitTime', '1 to 1 ms')
setsetting('Settings/PressWaitTime', '1 to 1 ms')
moveitems(99, ground(dest.x, dest.y, dest.z), ground(start.x, start.y, start.z), 100)
wait(1000)
move('n')
example of use https://www.youtube.com/watch?v=imxh...ature=youtu.be
niiice ok i will test it
error in Action script wptid:2:
["end"]:Action: 2:26: '<eof>' expected near 'end'
thx brooo