PDA

View Full Version : quest::attack NPC on NPC?


Jibbatwinkers
07-11-2006, 05:24 AM
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...



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