quest::flagclient
quest::flagclient
Explaination: Sets a flag on the player, mainly for quests.
Full Command: quest::flagclient(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 the NPC sets a flag on the player 3 to 1.
sub EVENT_SAY
{
if($text=~/hail/i)
{
quest::flagclient(3,1);
}
}
Last edited by mwmdragon; 03-15-2005 at 02:32 AM..
|