GreenBox Posted April 23, 2012 Posted April 23, 2012 This snippet add some commands that will make the player follow/walk to somewhere and until he reach the destination he can't act(walk, attach, use skills, etc). lockedwalk-r15938.diff http://pastebin.com/Ef7ZRNjN Added commands: - pc_locked_walk(sd, x, y) [sRC] - pc_locked_follow(sd, target) [sRC] - lockedwalk <x> <y> [script] - lockedfollow <target> [script] - @lockedwalk <x> <y> [Atcommand] - @lockedfollow <target> [Atcommand] 1 Quote
Shikka Posted April 23, 2012 Posted April 23, 2012 (edited) Wow, thanks ^^ I'll try your commands now. didn't thought that it would be so much work ^^'' thank you so much. edit: so, a lil bit tested. @lockedwalk -> works perfect @lockedfollow -> player are able to move again after the first following step (but it's not that big problem, because the player will be ported to the moving player if he'll come out of range) lockedwalk x y -> dunno if this command worked or not... forgotten xD lockedfollow -> didn't testet (but i think it will be the same problem like @lockedfollow) pc_locked_walk -> gave me some errors 'pc'_locked_walk "unknown command" or something like that, didn't watch the problem intensive, sorry. pc_locked_follow -> didn't tested (but i think it will be the same problem like pc_locked_walk) it's just fine, @lockedwalk was exactly what i needed so, thanks again for your great work! =) sorry, my english isn't that well =D Edited April 23, 2012 by Shikka Quote
GreenBox Posted April 23, 2012 Author Posted April 23, 2012 pc_locked_follow and pc_locked_walk are commands to be used on the source lockedwalk @lockedwalk are the same command, but one is to be used on scripts, lockedfollow and @lockedfollow is the same i've made lockedfollow to remove the lock after the target stop walking for the first time Quote
Shikka Posted April 23, 2012 Posted April 23, 2012 ah, i see, okay, sorry, then nevermind =D all is going well thanks for the update Quote
xRaisen Posted May 4, 2012 Posted May 4, 2012 Thanks! However it doesnt stop following. it needs to logout when I use the @lockedfollow command. Quote
GreenBox Posted May 4, 2012 Author Posted May 4, 2012 actually, i created the atcommands for debugging. the correct way to use it is by scripts using pcstopfollow to remove the follow state Quote
xRaisen Posted May 5, 2012 Posted May 5, 2012 Its alright. Because it might be abused during gvg or pvp. Quote
java Posted February 16, 2013 Posted February 16, 2013 (edited) cant stop following before logout from server suggest : -add lockedfollow off >.< -disable command at city, maybe put some mapflag for this command Edited February 16, 2013 by java Quote
nndsl Posted March 4, 2013 Posted March 4, 2013 +1 add please.: -add lockedfollow off >.< -disable command at city, maybe put some mapflag for this command Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.