PDA

View Full Version : How do I force NPC to use arrow?


thepoetwarrior
04-20-2008, 07:28 PM
How can I make an NPC use bow and arrow instead of other melee attacks? Making Ranger NPCs in a raid zone.

trevius
04-20-2008, 07:45 PM
You can probably look at the Hunter (ranger) mobs in Qvic, since they use bow and arrow when at range. Then just give the NPC 0 run speed so they are perma rooted. Then take off summoning so players aren't summoned within melee range, otherwise the NPC will always switch to melee I believe. Finally, if you want the whole fight to be done at range, you could setup a proximity on the NPC so that it will move any character that gets too close back outside of it's melee range.

Sounds like a fun encounter. Let us know if you get it working properly :)

thepoetwarrior
04-22-2008, 02:21 PM
Thanks Trevius :)

AiliaMorisato
04-24-2008, 06:28 AM
abit of an irony, but currently ranged attack code is non-existant for non-client class objects