Thread: [Pi] Tokens? please help!

Results 1 to 4 of 4
  1. #1 [Pi] Tokens? please help! 
    Donator
    South-Park's Avatar
    Join Date
    Jul 2012
    Posts
    806
    Thanks given
    191
    Thanks received
    111
    Rep Power
    43
    Okay so i'm playing around with quest and making my own custom tut island and the token i added in the char file is tut = 0
    but how would i get it too update to like 1 or more after i'm done talking to a npc?
    this is what i have
    Code:
     case 945:
            	if (c.tut == 0) {
            	c.getDH().sendDialogues(21, i); 
            	c.tut = 1;
            	}
            	break;
    Reply With Quote  
     

  2. #2  
    Banned
    Join Date
    Apr 2011
    Age
    29
    Posts
    1,360
    Thanks given
    370
    Thanks received
    184
    Rep Power
    0
    Quote Originally Posted by get on mehh View Post
    Okay so i'm playing around with quest and making my own custom tut island and the token i added in the char file is tut = 0
    but how would i get it too update to like 1 or more after i'm done talking to a npc?
    this is what i have
    Code:
     case 945:
            	if (c.tut == 0) {
            	c.getDH().sendDialogues(21, i); 
            	c.tut = 1;
            	}
            	break;
    Code:
    switch(tut) {
    case 0:
    c.getDH().sendDialogues(21, i);
    return 1;
    break;
    etc...
    }
    Reply With Quote  
     

  3. #3  
    Donator
    South-Park's Avatar
    Join Date
    Jul 2012
    Posts
    806
    Thanks given
    191
    Thanks received
    111
    Rep Power
    43
    Thanks ill try it out
    Reply With Quote  
     

  4. #4  
    Donator
    South-Park's Avatar
    Join Date
    Jul 2012
    Posts
    806
    Thanks given
    191
    Thanks received
    111
    Rep Power
    43
    I get a error on the stuff underline

    switch(tut) {
    case 945:
    c.getDH().sendDialogues(21, i);
    return 1;
    break;
    }
    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. pvp tokens?
    By keyal in forum Help
    Replies: 4
    Last Post: 07-15-2012, 06:39 PM
  2. [PI] Spawning With Tokens
    By I'm A Jerk in forum Snippets
    Replies: 21
    Last Post: 03-19-2012, 10:10 PM
  3. [PI]Character tokens?
    By 13lack drag in forum Help
    Replies: 0
    Last Post: 03-18-2012, 05:46 AM
  4. Tokens
    By _Nick_ in forum Help
    Replies: 1
    Last Post: 01-24-2012, 02:56 AM
  5. Replies: 10
    Last Post: 05-21-2011, 01:54 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
  •