Thread: Making an NPC aggresive?

Results 1 to 2 of 2
  1. #1 Making an NPC aggresive? 
    Registered Member
    Markian's Avatar
    Join Date
    Apr 2009
    Posts
    613
    Thanks given
    17
    Thanks received
    26
    Rep Power
    373
    I made Spirit Beast on my server, and I made it multi ( so that more than one person can attack it). Now, though, I need to make it so that it attacks players back. I need to know how to make it aggressive and how to make it shoot mage attacks. How do I make it aggresive and hit high magic attacks?

    ---------- Post added at 02:29 AM ---------- Previous post was at 12:43 AM ----------

    Can anyone help me?
    Reply With Quote  
     

  2. #2  
    Registered Member

    Join Date
    Aug 2008
    Posts
    273
    Thanks given
    0
    Thanks received
    0
    Rep Power
    103
    you did not make spirit beast, you prolly added it but didnt make it, be corrected.
    In NPCHANDLER search for
    public boolean AttackNPCMage(int NPCID) {
    and add it there


    under that add its id and everything like the rest, i believe thats to shoot stuff like range includes mage because they are both projectile. now to make it aggressive you go to :

    npchandler and then search for

    public boolean npcGetsAnnoyed(int Npc) {
    and add
    case ###:
    the #### is the id of the npc
    Hola
    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
  •