diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-09-25 23:35:00 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-09-25 23:35:00 +0300 |
commit | fbc3d6d0c4c8e6a56f07dc8b70882f975b1f7bf2 (patch) | |
tree | 682be024859b9d4707a532264b545bfdd7869aea /npc/functions/npcmove.txt | |
parent | cd76e166e06b65587c29b9664a763a59f2edd621 (diff) | |
download | serverdata-fbc3d6d0c4c8e6a56f07dc8b70882f975b1f7bf2.tar.gz serverdata-fbc3d6d0c4c8e6a56f07dc8b70882f975b1f7bf2.tar.bz2 serverdata-fbc3d6d0c4c8e6a56f07dc8b70882f975b1f7bf2.tar.xz serverdata-fbc3d6d0c4c8e6a56f07dc8b70882f975b1f7bf2.zip |
Add support for sit and stand command in npcmove engine.
Diffstat (limited to 'npc/functions/npcmove.txt')
-rw-r--r-- | npc/functions/npcmove.txt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/npc/functions/npcmove.txt b/npc/functions/npcmove.txt index 907c2098..be2a20a9 100644 --- a/npc/functions/npcmove.txt +++ b/npc/functions/npcmove.txt @@ -74,6 +74,14 @@ function script domoveaction { npcspeed getvariableofnpc(.movepathx[.@pos], strnpcinfo(3)); return 2; } + else if (.@cmd$ == "sit") + { + npcsit; + } + else if (.@cmd$ == "stand") + { + npcstand; + } return 1; } |