Thread: Another Question.

Results 1 to 6 of 6
  1. #1 Another Question. 
    ~! Legit ~!

    Join Date
    Nov 2010
    Posts
    1,973
    Thanks given
    183
    Thanks received
    211
    Rep Power
    237
    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?
    [email protected]
    Spoiler for My Vouches:
    Quote Originally Posted by mattsforeal View Post
    I paid $5 went first, he fixed my problem and it worked. 100% legit would do it again.
    Quote Originally Posted by Mythic View Post
    Vouch for him, very smooth and fast trade, purchased his last 4m. Have fun with your new membership
    Quote Originally Posted by Harlan View Post
    Vouch, trustworthy guy.
    Quote Originally Posted by iPhisher™ View Post
    Vouch for Super-Man, he is a very legit and trustable guy.
    Reply With Quote  
     

  2. #2  
    Registered Member

    Join Date
    Aug 2011
    Posts
    2,760
    Thanks given
    297
    Thanks received
    534
    Rep Power
    1596
    Code:
    if(c.getItems().playerHasItem(4151, 1, itemSlot)) {
               c.getDH().sendDialogues(##);
    } else {
               c.getDH().sendDialogues(##);
    }
    or something like that
    Quote Originally Posted by Aj View Post
    This is not even a tutorial. It's fail for rep. It's fail for life.
    Reply With Quote  
     

  3. #3  
    I'm Baack...


    Join Date
    Mar 2011
    Posts
    1,663
    Thanks given
    281
    Thanks received
    202
    Rep Power
    324
    Quote Originally Posted by spikeyyy View Post
    Code:
    if(c.getItems().playerHasItem(4151, 1, itemSlot)) {
               c.getDH().sendDialogues(##);
    } else {
               c.getDH().sendDialogues(##);
    }
    or something like that
    Yeah, you can do that, check if the player has the item, and have it play the one for finishing the quest, else playing the one for the begining.
    I'm back
    Reply With Quote  
     

  4. #4  
    Registered Member

    Join Date
    Sep 2011
    Posts
    1,140
    Thanks given
    385
    Thanks received
    398
    Rep Power
    474
    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
    Reply With Quote  
     

  5. #5  
    ~! Legit ~!

    Join Date
    Nov 2010
    Posts
    1,973
    Thanks given
    183
    Thanks received
    211
    Rep Power
    237
    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?
    [email protected]
    Spoiler for My Vouches:
    Quote Originally Posted by mattsforeal View Post
    I paid $5 went first, he fixed my problem and it worked. 100% legit would do it again.
    Quote Originally Posted by Mythic View Post
    Vouch for him, very smooth and fast trade, purchased his last 4m. Have fun with your new membership
    Quote Originally Posted by Harlan View Post
    Vouch, trustworthy guy.
    Quote Originally Posted by iPhisher™ View Post
    Vouch for Super-Man, he is a very legit and trustable guy.
    Reply With Quote  
     

  6. #6  
    Banned
    Join Date
    Oct 2011
    Posts
    122
    Thanks given
    25
    Thanks received
    5
    Rep Power
    0
    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.
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. Replies: 5
    Last Post: 04-03-2012, 05:44 PM
  2. Replies: 3
    Last Post: 09-22-2011, 02:35 AM
  3. Replies: 8
    Last Post: 06-26-2011, 05:15 AM
  4. VPS Question -- Website Question
    By pistolpete332 in forum Hosting
    Replies: 5
    Last Post: 05-22-2011, 10:26 AM
  5. Replies: 3
    Last Post: 08-14-2009, 12:23 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •