Thread: [PI] Ranged at Melee Distance

Results 1 to 2 of 2
  1. #1 [PI] Ranged at Melee Distance 
    Registered Member B E N's Avatar
    Join Date
    May 2012
    Posts
    142
    Thanks given
    14
    Thanks received
    3
    Rep Power
    36
    I am trying to add a ranged npc and I added the animation and gfx but it will only attack up-close..

    the is what I have for the attack type:


    Code:
    case 6365:
                                npcs[i].projectileId = 256;
                                npcs[i].attackType = 1;
                                npcs[i].endGfx = 256;
                            break;
    Reply With Quote  
     

  2. #2  
    Registered Member BryceTheCoder's Avatar
    Join Date
    Aug 2008
    Posts
    740
    Thanks given
    21
    Thanks received
    24
    Rep Power
    27
    You added the animations for the NPC's attacking. Nice!
    Now you would actually have to define that NPC as a "ranger"

    Look into other NPCs that use range and find that as an example. You'll get it

    Advertise your RSPS cheap on my website: www.BryceBux.com

    ^ PM me and I will give you a few dollars for FREE on my website for advertisements ^
    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. [PI]Opening doors at a distance
    By sircarl3 in forum Snippets
    Replies: 6
    Last Post: 02-23-2013, 07:54 PM
  2. Replies: 1
    Last Post: 03-31-2012, 03:09 PM
  3. [pi] Range distance fix
    By cradle in forum Help
    Replies: 2
    Last Post: 12-27-2010, 12:40 PM
  4. Replies: 3
    Last Post: 01-27-2009, 03:53 AM
  5. working protect prayers (mage range and melee)
    By Ashen Sky in forum Tutorials
    Replies: 6
    Last Post: 04-12-2008, 02:11 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
  •