Thread: Multiple NPC's attacking at the same time

Results 1 to 3 of 3
  1. #1 Multiple NPC's attacking at the same time 
    Registered Member
    Join Date
    Nov 2012
    Posts
    79
    Thanks given
    8
    Thanks received
    2
    Rep Power
    13
    Hello reader

    I currently have a slight problem on my custom minigame. I made it so that multiple NPC's spawn at the same time, however, if one of those NPC's attacks me, the others will walk towards me, but not attack me even though I'm in a multi area. The next one will start attacking me once I killed the first one.

    Example:

    I have the 6 barrows brothers spawned at the same time on the start of my minigame. Dharok is closest to me and starts attacking me. The other brothers walk towards me to a place they can attack me. They will not attack me until I killed Dharok, not even if I attack them. After I killed Dharok, Verac will start attacking me and still the others won't.

    Any help on this is appreciated

    Regards

    JavaLearner
    Reply With Quote  
     

  2. #2  
    Registered Member
    Karma_K's Avatar
    Join Date
    Nov 2012
    Posts
    4,283
    Thanks given
    152
    Thanks received
    610
    Rep Power
    108
    Quote Originally Posted by JavaLearner View Post
    Hello reader

    I currently have a slight problem on my custom minigame. I made it so that multiple NPC's spawn at the same time, however, if one of those NPC's attacks me, the others will walk towards me, but not attack me even though I'm in a multi area. The next one will start attacking me once I killed the first one.

    Example:

    I have the 6 barrows brothers spawned at the same time on the start of my minigame. Dharok is closest to me and starts attacking me. The other brothers walk towards me to a place they can attack me. They will not attack me until I killed Dharok, not even if I attack them. After I killed Dharok, Verac will start attacking me and still the others won't.

    Any help on this is appreciated

    Regards

    JavaLearner
    so you want it to be in a multi area? add the coordinates to your multi method in npc.java and player.java
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Nov 2012
    Posts
    79
    Thanks given
    8
    Thanks received
    2
    Rep Power
    13
    Ah, I thought I only had to add it to Player.java (didn't know the same method was also in NPC.java)

    Thanks for the fix

    Can be closed.
    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. Multiple GFX at the same time?
    By Debugger in forum Help
    Replies: 2
    Last Post: 08-29-2012, 11:47 PM
  2. Multiple interfaces at the same time.
    By Matiasmunk2 in forum Help
    Replies: 0
    Last Post: 07-09-2012, 12:26 AM
  3. Replies: 3
    Last Post: 02-28-2012, 12:19 AM
  4. Replies: 7
    Last Post: 03-30-2009, 04:14 PM
  5. Duel rules that can't be at the same time
    By Jonas++ in forum Requests
    Replies: 5
    Last Post: 10-22-2008, 06:30 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
  •