EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Development::Database/World Building (https://www.eqemulator.org/forums/forumdisplay.php?f=596)
-   -   How do I force NPC to use arrow? (https://www.eqemulator.org/forums/showthread.php?t=25050)

thepoetwarrior 04-20-2008 07:28 PM

How do I force NPC to use arrow?
 
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


All times are GMT -4. The time now is 08:53 PM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.