GreenBox Posted April 23, 2012 Group: Members Topic Count: 9 Topics Per Day: 0.00 Content Count: 303 Reputation: 101 Joined: 11/13/11 Last Seen: October 11, 2023 Share 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 Link to comment Share on other sites More sharing options...
Shikka Posted April 23, 2012 Group: Members Topic Count: 6 Topics Per Day: 0.00 Content Count: 33 Reputation: 2 Joined: 04/16/12 Last Seen: June 11, 2021 Share 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 Link to comment Share on other sites More sharing options...
GreenBox Posted April 23, 2012 Group: Members Topic Count: 9 Topics Per Day: 0.00 Content Count: 303 Reputation: 101 Joined: 11/13/11 Last Seen: October 11, 2023 Author Share 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 Link to comment Share on other sites More sharing options...
Shikka Posted April 23, 2012 Group: Members Topic Count: 6 Topics Per Day: 0.00 Content Count: 33 Reputation: 2 Joined: 04/16/12 Last Seen: June 11, 2021 Share Posted April 23, 2012 ah, i see, okay, sorry, then nevermind =D all is going well thanks for the update Quote Link to comment Share on other sites More sharing options...
xRaisen Posted May 4, 2012 Group: Members Topic Count: 24 Topics Per Day: 0.01 Content Count: 175 Reputation: 8 Joined: 03/10/12 Last Seen: August 4, 2020 Share Posted May 4, 2012 Thanks! However it doesnt stop following. it needs to logout when I use the @lockedfollow command. Quote Link to comment Share on other sites More sharing options...
GreenBox Posted May 4, 2012 Group: Members Topic Count: 9 Topics Per Day: 0.00 Content Count: 303 Reputation: 101 Joined: 11/13/11 Last Seen: October 11, 2023 Author Share 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 Link to comment Share on other sites More sharing options...
xRaisen Posted May 5, 2012 Group: Members Topic Count: 24 Topics Per Day: 0.01 Content Count: 175 Reputation: 8 Joined: 03/10/12 Last Seen: August 4, 2020 Share Posted May 5, 2012 Its alright. Because it might be abused during gvg or pvp. Quote Link to comment Share on other sites More sharing options...
java Posted February 16, 2013 Group: Members Topic Count: 27 Topics Per Day: 0.01 Content Count: 265 Reputation: 35 Joined: 12/22/11 Last Seen: 4 hours ago Share 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 Link to comment Share on other sites More sharing options...
nndsl Posted March 4, 2013 Group: Members Topic Count: 13 Topics Per Day: 0.00 Content Count: 53 Reputation: 3 Joined: 11/28/11 Last Seen: June 1, 2016 Share Posted March 4, 2013 +1 add please.: -add lockedfollow off >.< -disable command at city, maybe put some mapflag for this command Quote Link to comment Share on other sites More sharing options...
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.