Thread: [PI]Npc block emotes?[PI]

Results 1 to 6 of 6
  1. #1 [PI]Npc block emotes?[PI] 
    Registered Member
    Join Date
    Dec 2010
    Posts
    41
    Thanks given
    0
    Thanks received
    1
    Rep Power
    1
    Ok so, I was adding NPC block emotes myself, and I am nowhere near done adding the npcs' to it, but here is what I have so far.

    Code:
    	public int getBlockEmote(int i) {
    		switch(npcs[i].npcType) {
    			case 3588:
    			return 26;
    			case 92:
    			return 5489;
    			case 127:
    			return 193;
    			case 104:
    			return 5536;
    			case 112:
    			return 4664;
    			case 1593:
    			return 6563;
    			case 134:
    			case 60:
    			case 63:
    			case 64:
    			return 5328;
    			case 117:
    			return 4651;
    			case 133:
    			case 89:
    			case 1329:
    			return 6375;
    			case 110:
    			case 1582:
    			case 1583:
    			case 1584:
    			case 1585:
    			case 1586:
    			return 4665;
    			case 86:
    			return 4934;
    			case 1183:
    			return 425;
    			case 106:
    			return 4927;
    			case 73:
    			case 74:
    			case 75:
    			case 76:
    			case 77:
    			return 5567;
    			case 111:
    			return 4671;
    			case 2892:
    			case 2894:
    			return 2869;
    			case 2627:
    			return 2622;
    			case 2630:
    			return 2626;
    			case 2631:
    			return 2629;
    			case 2741:
    			return 2635;
    			case 2746:
    			return 2639;
    
    
    			default:
    			return 0;
    		}
    	}
    Now, the problem I have is, it doesn't implement it. I also have no idea what to do about

    Code:
    			default:
    			return 0;

    If I don't have it, it gives a "missing return statement" error. And when I add it, it doesn't implement it. Any idea what's wrong?
    Reply With Quote  
     

  2. #2  
    Registered Member Gacoa's Avatar
    Join Date
    Sep 2010
    Posts
    44
    Thanks given
    0
    Thanks received
    0
    Rep Power
    1
    add me on msn [email protected] ill show u how
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Dec 2010
    Posts
    41
    Thanks given
    0
    Thanks received
    1
    Rep Power
    1
    Quote Originally Posted by Gacoa View Post
    add me on msn [email protected] ill show u how
    I don't HAVE MSN. O_o

    *Bump
    Reply With Quote  
     

  4. #4  
    Registered Member

    Join Date
    Sep 2009
    Age
    27
    Posts
    2,768
    Thanks given
    367
    Thanks received
    187
    Rep Power
    458
    default:
    return 0;

    is making any NPC ID you have up there, do nothing.
    Reply With Quote  
     

  5. #5  
    Registered Member
    Join Date
    Dec 2010
    Posts
    41
    Thanks given
    0
    Thanks received
    1
    Rep Power
    1
    Quote Originally Posted by Mr Nick =D View Post
    default:
    return 0;

    is making any NPC ID you have up there, do nothing.
    Alright, what would I put to make them work? O_O People were telling me to make it any number. >.<
    Reply With Quote  
     

  6. #6  
    Registered Member Stranger's Avatar
    Join Date
    Aug 2011
    Posts
    33
    Thanks given
    17
    Thanks received
    19
    Rep Power
    11
    Heres a few suggestions for a default: 404(older), 423, 424(and these are newer if you have no shield or weapon.) These are mean't only for human NPCs. But that won't be a problem cause you seem to got that part already nicely down for the monsters.

    EDIT: Oh wow, this is pretty old..
    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. Need Block Emotes
    By Damien in forum Requests
    Replies: 0
    Last Post: 08-27-2010, 07:48 AM
  2. [PI] Block emotes for NPC's [PI]
    By daone11 in forum Help
    Replies: 3
    Last Post: 08-18-2010, 12:47 PM
  3. [525] Punch & Block Emotes
    By K4rn4ge in forum Configuration
    Replies: 17
    Last Post: 04-07-2010, 10:27 PM
  4. How do you add block emotes too npcs??
    By karbon v2 in forum Help
    Replies: 9
    Last Post: 12-27-2009, 10:36 PM
  5. Block emotes?
    By Colby in forum RS2 Server
    Replies: 7
    Last Post: 09-06-2009, 01:17 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •