Thread: Quests

Results 1 to 5 of 5
  1. #1 Quests 
    Registered Member Byakuya Kuchiki's Avatar
    Join Date
    Sep 2009
    Posts
    421
    Thanks given
    6
    Thanks received
    7
    Rep Power
    17
    I'm trying to make some quests on Shard, but.....I need to know one thing.

    How would I make the quest progress go up if you talk to an npc, or you need a certain progress to get a certain message from that npc? Like...

    if (progress == 1) {
    dialogue = 100;
    }

    OR

    if (dialogue == 100) {
    progress == 2;
    }


    I've been having some troubles with getting this, can anyone help me out?


    Reply With Quote  
     

  2. #2  
    Registered Member

    Join Date
    Oct 2009
    Posts
    182
    Thanks given
    0
    Thanks received
    0
    Rep Power
    223
    Use a switch statement.
    Reply With Quote  
     

  3. #3  
    Registered Member Byakuya Kuchiki's Avatar
    Join Date
    Sep 2009
    Posts
    421
    Thanks given
    6
    Thanks received
    7
    Rep Power
    17
    Quote Originally Posted by Caronok View Post
    Use a switch statement.
    I need help with getting the correct code. Because "dialogue == 1" isn't an actual method, I was just using it as an example.

    Since Shard uses cfg files for dialogue and such, I need to know how to make the dialogue in the cfg file launch from my quest file (GettingStarted.java)


    Reply With Quote  
     

  4. #4  
    Registered Member Byakuya Kuchiki's Avatar
    Join Date
    Sep 2009
    Posts
    421
    Thanks given
    6
    Thanks received
    7
    Rep Power
    17
    Bump.


    Reply With Quote  
     

  5. #5  
    Registered Member Byakuya Kuchiki's Avatar
    Join Date
    Sep 2009
    Posts
    421
    Thanks given
    6
    Thanks received
    7
    Rep Power
    17
    Anyone?


    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

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •