EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Support::General Support (https://www.eqemulator.org/forums/forumdisplay.php?f=598)
-   -   quest::attack NPC on NPC? (https://www.eqemulator.org/forums/showthread.php?t=21009)

Jibbatwinkers 07-11-2006 05:24 AM

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(

Jibbatwinkers 07-11-2006 07:05 AM

This post should be in quests if someone would move it. Sorry 'bout that!

Aramid 09-01-2006 06:37 PM

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....


All times are GMT -4. The time now is 05:41 PM.

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