Thread: Npc Block Emotes

Results 1 to 3 of 3
  1. #1 Npc Block Emotes 
    Seven Lions

    Yvne's Avatar
    Join Date
    Sep 2012
    Posts
    1,204
    Thanks given
    164
    Thanks received
    173
    Rep Power
    81
    hey i did this snippet: http://www.rune-server.org/runescape...emotes-pi.html

    but no animations seem to show up for man. i just want the default animation to be like the man animation.

    what exactly do i put in this area:
    Code:
    public static int getBlockEmote(int i) {
            switch(Server.npcHandler.npcs[i].npcType) {
    /*case ####:
    return ####;*/
     
    default:
    return 1000000;
     
         }
    }
    ive tried adding -1 in return instead of 1000000. and ive changed case to 808 ad return to 819 and nothign seems to work. would apreciate some help thanks! :]
    Reply With Quote  
     

  2. #2  
    Extreme Donator


    Join Date
    Nov 2009
    Posts
    1,421
    Thanks given
    559
    Thanks received
    266
    Rep Power
    236
    Code:
    public static int getBlockEmote(int i) {
            switch(Server.npcHandler.npcs[i].npcType) {
    /*case ####: THE NPC ID.
    return ####;*/ THE ANIMATION
      
    default: If the npc case isn't added, it will default return this value.
    return 1000000;
      
         }
    }
    You need to call the method in the combat code also.
    Reply With Quote  
     

  3. #3  
    Seven Lions

    Yvne's Avatar
    Join Date
    Sep 2012
    Posts
    1,204
    Thanks given
    164
    Thanks received
    173
    Rep Power
    81
    Quote Originally Posted by Malicious View Post
    Code:
    public static int getBlockEmote(int i) {
            switch(Server.npcHandler.npcs[i].npcType) {
    /*case ####: THE NPC ID.
    return ####;*/ THE ANIMATION
      
    default: If the npc case isn't added, it will default return this value.
    return 1000000;
      
         }
    }
    You need to call the method in the combat code also.
    i made it this
    Code:
    public static int getBlockEmote(int i) {
            switch(Server.npcHandler.npcs[i].npcType) {
    case 3:
    return 424;
    case 2:
    return 424;
    case 1:
    return 424;
     
    default:
    return 3;
     
         }
    }
    and it stil didnt work and what u mean by call the method? i added this
    Code:
    startAnimation(getBlockEmote(i), i);
    that what u mean? thanks
    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. Npc Block Emotes
    By LeBron James in forum Requests
    Replies: 3
    Last Post: 05-14-2012, 12:24 AM
  2. [PI] NPC Block emotes
    By Reality' in forum Snippets
    Replies: 5
    Last Post: 10-13-2011, 06:22 PM
  3. [PI]Npc block emotes?[PI]
    By Sweet Ride in forum Help
    Replies: 5
    Last Post: 08-25-2011, 04:58 AM
  4. npc block emotes
    By abdul100 in forum Help
    Replies: 4
    Last Post: 06-12-2011, 06:09 AM
  5. [PI] Block emotes for NPC's [PI]
    By daone11 in forum Help
    Replies: 3
    Last Post: 08-18-2010, 12:47 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
  •