new mods for wesquests: Move a NPC to a new location and ani
This is my script (has some of the other tweaks, remove as needed)
NPC_SCRIPT 4721{ TRIGGER_TEXT:Hail:{ NAME: Human who thinks himself a snow leopard EMOTE: hisses at you DO_ANIMATION: 3 } } NPC_SCRIPT 4723{ TRIGGER_TEXT:Hail:{ NAME: ORC SNOW TROOPER EMOTE: grunts, and then takes a big whiff of the air. SAY: By an elven mother, you stink! I'm outta here! MOVE_TO_NEW_HOME 3.00 4.00 3.00 1.00 } } Code:
else if (strstr(strupr(command),"DO_ANIMATION") != NULL) { Quest changes are active on "Malevolent's Lab" on public server network. You can try these out in Rivervale. That location happens to be the mouth of the entrance to misty. --MV |
why not just move [new set of x, y, z] :p
|
If I understand what you are saying right, it would only move the npc to x,yz as the SendTo() doesn't always work (esp. if you don't have maps). I've found playing off of the ismovinghome works out pretty well, as it sets up a new vector to move to and the mob actually slowly moves that way.
This code also serves well as a basis for setting up waypoints via the scripting engine. Just have to add a step counter to it. Works pretty well for me. :) |
ahh...makes sense now. i didn't quite understand from what you posted before. was just wondering why it was so dang long...:)
hehe |
All times are GMT -4. The time now is 02:20 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.