Why post this?
|
I've added a few npc dialogues and i can't get the actions to work. This is what i have so far.Code:case 541: c.getDH().sendDialogues(25, npcType); break;Code:case 25: sendNpcChat4("", "Hello!", "My name is Zeke. I sell all types of Weapons.", "", c.talkingNpc, "Zeke"); c.dialogueAction = 25; c.nextChat = 26; break; case 26: sendOption2("Would you like to buy a Weapon?", "No thanks"); c.dialogueAction = 26; break;Code:} else if (c.dialogueAction == 26) { c.getShops().openShop(5);
anybody have any idea how to fix this?
Did you putUnder the right case #?Code:} else if (c.dialogueAction == 26) { c.getShops().openShop(5);
under case 9157: yes..
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |