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]