Go Back   EQEmulator Home > EQEmulator Forums > Quests > Quests::Q&A

Quests::Q&A This is the quest support section

Reply
 
Thread Tools Display Modes
  #1  
Old 04-13-2008, 08:25 AM
Gonner
Fire Beetle
 
Join Date: Aug 2007
Location: Columbus Grove, Ohio
Posts: 22
Default

I do not even get the Unable to attack message. They just stand there and go DUHH... Think there range might need to be adjusted. Thank you for the help. will keep trying and will see if that castspell works. Thanks.
Reply With Quote
  #2  
Old 04-13-2008, 07:30 PM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

Looks like there are other attack quest options that need to be used for NPCs. I will be messing with this tonight. I am sure this is why it wasn't working for me. I am glad to find this, as it will make the new event I was working on actually work

quest::attack("name"); - Attacks PLAYER "name", ONLY PLAYERS.
quest::attacknpc(entity_id); - Attacks NPC with ID 'entity_id', NOT NPC TYPE!
quest::attacknpctype(npc_type_id); - Attacks the first NPC in the zone with npc type 'npc_type_id'
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
Reply With Quote
  #3  
Old 04-14-2008, 06:58 PM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

quest::attacknpctype(npc_type_id); Worked like a charm! Just wanted to let anyone know that might be curious in the future.
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
Reply With Quote
  #4  
Old 04-15-2008, 08:55 AM
Gonner
Fire Beetle
 
Join Date: Aug 2007
Location: Columbus Grove, Ohio
Posts: 22
Default

I will give that a try. Also if I can't get this figured out by the end of the week I plan to post the current scripts in hopes that someone can aid in making them work.
Reply With Quote
Reply

Thread Tools
Display Modes

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 05:40 AM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3