quest::flagnpc
quest::flagnpc
Explaination: Sets flag values on mobs and NPCs mainly for quests.
Full Command: quest::flagnpc(flag,flagvalue)
Flag = a variable you wish to assign the value to.
Flagvalue = the value you want the flag variable to equal
Example:
# After being hailed, a flag on the NPC 7 is set to 1.
sub EVENT_SAY
{
if($text=~/hail/i)
{
quest::flagnpc(7,1);
}
}
Last edited by mwmdragon; 03-15-2005 at 02:32 AM..
|