View Full Version : Cant walk while having npc dialouge up
snkey31
June 18th, 2010, 15:02
How do i make it where you cant walk till a certain npc dialouge?
Emperor
June 18th, 2010, 15:57
Walking packets.
Add something in the lines of:
if (npcDialogue > 0) {
break;
}.
Rog3r
June 18th, 2010, 16:09
Walking packets.
Add something in the lines of:
if (npcDialogue > 0) {
break;
}.
You don't even need to do that.
In my source (Devolution based), all you need to do is this:
Under packet 98 (search for):
case 98:
under that add:
resetDialogue();
Emperor
June 18th, 2010, 16:48
Yes, but he doesn't want to move, while being in dialogue.
That'd just clear out the dialogue interface.
Rog3r
June 18th, 2010, 16:52
Yes, but he doesn't want to move, while being in dialogue.
That'd just clear out the dialogue interface.
Ah, read it wrong I guess.
To add more to your comment - you could always range it through certain numbers: (dialog == 2 || dialog == 3 || dialog == 4 etc...).
Powered by vBulletin® Version 4.1.9 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.