Everyone who has never used our Bots before, can test each one for 2 days without any limitation.
The trial is given automatically when you login on the Bot, but in some cases it wouldn't work (security reasons).
If this happens, send me a private message and i will be checking the failed trials manually and adding it for those who didn't get it.
We are looking for resellers who may accept payment methods different from ours, including classictibia's cash, realesta's cash, mastercores' cash, etc. Interested? Click here at anytime.



Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
leave stack
#1
Hi, looked all over forum but couldn't find a persistent.

I need a persistent where I can choose like, if char is on stack walk one sqm east, or north, one that I can choose, please...

Im using same script for 3 chars, so when they go down the stair they stay all on the same SQM, so I wanted to make them walk a sqm where I can choose the direction. thank you
Reply

#2
Hello.

Please, scripts requests should be posted on Scripts -> Requests. Otherwise you may be ignored or thread be deleted if you post on wrong section.
local directionToWalk = 'n' -- Direction to walk if stacked. Directions can be: n, e, s or w.


local player_x = posx()
local player_y = posy()
local player_z = posz()

local creatures = getcreatures('pmfs')
for _, creature in ipairs(creatures) do
    if creature.posx == player_x and creature.posy == player_y and creature.posz == player_z then
        move(directionToWalk)
        wait(400, 800)
        break
    end
end
Reply



Forum Jump:



Forum software by © MyBB Theme © iAndrew 2016