Thread: [ Vencillio ] Help adding Cerberus

Results 1 to 3 of 3
  1. #1 [ Vencillio ] Help adding Cerberus 
    Registered Member
    Join Date
    Dec 2014
    Posts
    6
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    I was following this guide

    [Only registered and activated users can see links. ]

    I got everthing to work correctly but I'm confused on where I add the Npc Cerberus. the code

    case 4201:
    entityDef.name = "Cerberus";
    entityDef.combatLevel = 318;
    entityDef.standAnim = 6561;
    entityDef.walkAnim = 6583;
    entityDef.actions = new String[5];
    entityDef.actions = new String[] {null, "Attack", null, null, null};
    entityDef.anIntArray94 = new int[] {29270};
    entityDef.anInt86 = 120;
    entityDef.anInt91 = 120;
    break;
    Reply With Quote  
     

  2. #2  
    Super Donator

    Chivvon's Avatar
    Join Date
    May 2016
    Posts
    457
    Thanks given
    59
    Thanks received
    111
    Rep Power
    174
    Quote Originally Posted by DustinJameson View Post
    I was following this guide

    [Only registered and activated users can see links. ]

    I got everthing to work correctly but I'm confused on where I add the Npc Cerberus. the code

    case 4201:
    entityDef.name = "Cerberus";
    entityDef.combatLevel = 318;
    entityDef.standAnim = 6561;
    entityDef.walkAnim = 6583;
    entityDef.actions = new String[5];
    entityDef.actions = new String[] {null, "Attack", null, null, null};
    entityDef.anIntArray94 = new int[] {29270};
    entityDef.anInt86 = 120;
    entityDef.anInt91 = 120;
    break;
    Didn't check anything in vencillio,

    If you can find a switch statement , than put the int under the "switch() {" line of code.
    Otherwise add the int under the line of code when your readvalues are declared.
    And change "case 4201:" to "if(i == YOURNPC) {" and change "break;" to "}".
    Both ways should work correctly , if you do it correctly.

    Hope i've helped you, gl
    Reply With Quote  
     

  3. #3  
    Registered Member

    Join Date
    Jul 2016
    Posts
    236
    Thanks given
    84
    Thanks received
    91
    Discord
    View profile
    Rep Power
    370
    i Can help, what is ur skype
    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. [ Vencillio ] Help adding newer items.
    By DustinJameson in forum Requests
    Replies: 0
    Last Post: 07-25-2016, 04:50 AM
  2. Help Adding Stuff InTo Shops [ DELTASCAPE ]
    By *Rs-Coding* in forum Help
    Replies: 9
    Last Post: 01-04-2009, 09:32 PM
  3. [HELP] Adding the models/items
    By Rip It in forum Models
    Replies: 0
    Last Post: 11-16-2008, 07:34 PM
  4. Help Adding jFrame
    By Frodo6695 in forum Requests
    Replies: 3
    Last Post: 08-20-2008, 08:34 PM
  5. need help adding item requirements
    By manilla rose in forum RS2 Server
    Replies: 1
    Last Post: 09-25-2007, 12:23 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
  •