Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::General Support

Support::General Support Post all topics here having to do with errors while trying to connect to an EQEMu server but not about the setup/running of the Server itself.

Reply
 
Thread Tools Display Modes
  #1  
Old 07-11-2006, 05:24 AM
Jibbatwinkers
Sarnak
 
Join Date: May 2006
Location: Cincinnati
Posts: 73
Default quest::attack NPC on NPC?

In the lexicon quest::attack is explained as follows:

[QUOTE]quest::attack

Explanation: Makes the mob or NPC attack anything with the chosen name.

Full Command: quest::attack(
__________________
Lead GM ~ Zeb
Zeb Server
ZebServer.com
Reply With Quote
  #2  
Old 07-11-2006, 07:05 AM
Jibbatwinkers
Sarnak
 
Join Date: May 2006
Location: Cincinnati
Posts: 73
Default

This post should be in quests if someone would move it. Sorry 'bout that!
__________________
Lead GM ~ Zeb
Zeb Server
ZebServer.com
Reply With Quote
  #3  
Old 09-01-2006, 06:37 PM
Aramid
Discordant
 
Join Date: May 2006
Posts: 356
Default

Don't know if you ever got this resolved, but here is the way it has to be...

Code:
sub EVENT_SAY{
  if($text=~/hail/i)
   {
     quest::attacknpctype(npcid#);  <--- Type in the NPC's ID Number
   }
}
I tested it and it works as it should....
Reply With Quote
Reply


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 06:49 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