Thread: Npc Dialogue actions

Results 1 to 6 of 6
  1. #1 Npc Dialogue actions 
    Donator

    Arithium's Avatar
    Join Date
    May 2010
    Age
    31
    Posts
    4,721
    Thanks given
    199
    Thanks received
    1,256
    Rep Power
    1114
    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);
    Reply With Quote  
     

  2. #2  
    Registered Member
    Join Date
    Aug 2010
    Posts
    739
    Thanks given
    32
    Thanks received
    51
    Rep Power
    35
    Why post this?
    [SPOIL]
    Quote Originally Posted by Archon Server View Post
    What do you mean compile?
    Quote Originally Posted by Hughes View Post
    I don't know the program i need to open a CLASS file since every time i try to open one in notepad it brings up random symbols.

    Quote Originally Posted by Flux View Post
    Quote Originally Posted by Tyluur View Post
    your better
    my better
    [/SPOIL]
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Aug 2010
    Posts
    62
    Thanks given
    0
    Thanks received
    0
    Rep Power
    1
    Quote Originally Posted by 666is1337 View Post
    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.

    Thats why maybe
    Reply With Quote  
     

  4. #4  
    Donator

    Arithium's Avatar
    Join Date
    May 2010
    Age
    31
    Posts
    4,721
    Thanks given
    199
    Thanks received
    1,256
    Rep Power
    1114
    anybody have any idea how to fix this?
    Reply With Quote  
     

  5. #5  
    Registered Member
    Join Date
    Feb 2008
    Posts
    400
    Thanks given
    10
    Thanks received
    11
    Rep Power
    26
    Did you put
    Code:
    				} else if (c.dialogueAction == 26)	{
    					c.getShops().openShop(5);
    Under the right case #?
    Reply With Quote  
     

  6. #6  
    Donator

    Arithium's Avatar
    Join Date
    May 2010
    Age
    31
    Posts
    4,721
    Thanks given
    199
    Thanks received
    1,256
    Rep Power
    1114
    under case 9157: yes..
    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
  •