Thread: Help with multiple npc's attacking players at once [$5 VIA PayPal if you can help]

Results 1 to 5 of 5
  1. #1 Help with multiple npc's attacking players at once [$5 VIA PayPal if you can help] 
    xAcid Tripx
    Guest
    Hello can someone guide me to the direction to a tutorial which shows me how to make NPC's only attack if you attack them first, or atleast so if one attacks you multiple other ones won't attack you at the same time. Or you could explain it here, I'll pay 5$

    I'm using Delta, thanks.
    Reply With Quote  
     

  2. #2  
    Registered Member Dezzan's Avatar
    Join Date
    Oct 2009
    Age
    30
    Posts
    409
    Thanks given
    2
    Thanks received
    6
    Rep Power
    30
    Talking about making Npcs non-aggressive, and single combat areas?
    Reply With Quote  
     

  3. #3  
    Registered Member
    Hunter's Avatar
    Join Date
    Jun 2009
    Age
    33
    Posts
    857
    Thanks given
    3
    Thanks received
    23
    Rep Power
    216
    With Delta I'm assuming he does mean the aggressiveness. That'd be in the file "NPCHandler".

    Find:

    Code:
     public boolean npcGetsAnnoyed(int Npc) {
         switch(npcs[Npc].npcType) {
    cases under that switch are NPCs that get annoyed.
    Reply With Quote  
     

  4. #4  
    xAcid Tripx
    Guest
    Wow im so stupid lol, thanks.
    Reply With Quote  
     

  5. #5  
    Registered Member
    Xynth's Avatar
    Join Date
    May 2009
    Posts
    2,222
    Thanks given
    226
    Thanks received
    259
    Rep Power
    1155
    Lol, now you owe him 5$. Pay up.
    Attached image
    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

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •