Jump to content

Recommended Posts

Posted

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]

  • Upvote 1
Posted (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 by Shikka
Posted

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

  • 2 weeks later...
  • 9 months later...
Posted (edited)

cant stop following before logout from server :D

 

suggest :

 

-add lockedfollow off >.<

-disable command at city, maybe put some mapflag for this command :)

Edited by java
  • 3 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...