Thread: How do you make npc's aggressive?

Results 1 to 8 of 8
  1. #1 How do you make npc's aggressive? 
    Banned

    Join Date
    Aug 2012
    Posts
    2,963
    Thanks given
    1,197
    Thanks received
    643
    Rep Power
    0
    Alright, so I'm working on my server and nearing time for my release, and I noticed that Kalphite Queen nor her guardians are aggressive? How do I make them both aggressive so when you teleport in they'll start attacking you like real runescape? I'm on a 317, just putting that out there so someone knows they're in the low revision section..

    Thanks will Rep + Thanks!
    Reply With Quote  
     

  2. #2  
    Registered Member
    Brady's Avatar
    Join Date
    Apr 2009
    Posts
    1,714
    Thanks given
    354
    Thanks received
    368
    Rep Power
    1633
    I hate to do this to you but..









    Reply With Quote  
     

  3. Thankful user:


  4. #3  
    Banned

    Join Date
    Aug 2012
    Posts
    2,963
    Thanks given
    1,197
    Thanks received
    643
    Rep Power
    0
    Quote Originally Posted by `Brady View Post
    I hate to do this to you but..


    Well, I just got back into coding as I haven't coded in about 1-2 years. Mind just giving me a hint man?
    Reply With Quote  
     

  5. #4  
    http://frostiescape.net
    lipkin's Avatar
    Join Date
    Feb 2010
    Posts
    542
    Thanks given
    157
    Thanks received
    49
    Rep Power
    0
    Quote Originally Posted by Twisty View Post
    Well, I just got back into coding as I haven't coded in about 1-2 years. Mind just giving me a hint man?
    lol..

    Npchandler.java ...
    Frostiescape is back. 2014
    Reply With Quote  
     

  6. Thankful user:


  7. #5  
    Banned

    Join Date
    Aug 2012
    Posts
    2,963
    Thanks given
    1,197
    Thanks received
    643
    Rep Power
    0
    Quote Originally Posted by lipkin View Post
    lol..

    Npchandler.java ...
    Hey thanks Lipkin! You were there for me for once! Appreciate it big guy. I haven't coded in 1-2 years time, that's my excuse.
    Reply With Quote  
     

  8. #6  
    Registered Member
    Karma_K's Avatar
    Join Date
    Nov 2012
    Posts
    4,283
    Thanks given
    152
    Thanks received
    610
    Rep Power
    108
    Are you the real twisty..
    Reply With Quote  
     

  9. #7  
    Banned

    Join Date
    Aug 2012
    Posts
    2,963
    Thanks given
    1,197
    Thanks received
    643
    Rep Power
    0
    Alright, I'm beyond rusty with coding, but that'll be fixed soon xD! I've visited npchandler.java and I've searched the npc id which is the kalphite guardian, what do I edit to make it aggressive?
    Reply With Quote  
     

  10. #8  
    Registered Member
    Join Date
    Dec 2011
    Posts
    454
    Thanks given
    17
    Thanks received
    37
    Rep Power
    61
    Code:
    public boolean isAggressive(int i) {
    Add the the cases for the npc's you want aggressive under the switch.
    Reply With Quote  
     

  11. Thankful user:



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. How do you make Npcs respawn [637]?
    By Coruption in forum Help
    Replies: 3
    Last Post: 04-20-2012, 01:45 AM
  2. Replies: 3
    Last Post: 08-05-2011, 11:04 PM
  3. Replies: 6
    Last Post: 06-07-2011, 02:10 PM
  4. how do you make npcs fight back
    By owner josh in forum Help
    Replies: 3
    Last Post: 05-28-2009, 07:53 AM
  5. [Req] How do you make a tab tele at a level [Req]
    By o0x vvv x0o in forum Tutorials
    Replies: 5
    Last Post: 10-23-2007, 11:27 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
  •