or something like thatCode:if(c.getItems().playerHasItem(4151, 1, itemSlot)) { c.getDH().sendDialogues(##); } else { c.getDH().sendDialogues(##); }
|
Ok, I got my Mini-Quest and this is my problem...
I talk to the NPC, Accept the quest, Then teleports me to the monster.
I kill it and keep the item and it teleports me back.
Now when i talk to the NPC The first dialogue still pops up to start it, how do i get the ending quest dialogue to pop up?
Or you could set a boolean to true when they kill the monster and obtain the item, and do the same thing as above, but use the boolean instead of playerHasItem
thanks guys.
1 more thing.. How do I make it so once you finish the quest it wont allow you to talk to the npc anymore or delete the Npc for only the player that completed it?
Just put it in a spot, if you haven't done the quest you can teleport, if you have done it, it won't allow you to teleport to the certain place.
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |