A
          / \      _             Play Now                         Nemesis on fb
          | |     | |  _______   _        _   _______    _______   _    _______
          | |\    | | |   ____| |  \    /  | |   ____|  /   ____| | |  /   ____|
 /-------/-------------------------------------------------------------------,
O= Home <=XX|  About  News  Pics  Adventurers  Wizards  Download  Connect     >
 \-------\-------------------------------------------------------------------'
          | |   \   | |  |____  | |      | | |  |____   ___ \  \  | |  ___ \  \
          | |     \_| |_______| |_|      |_| |_______| |_______/  |_| |_______/
          \ /
           V  

Documentation Area

Document Path: /doc/player/set_quest


Name: set_quest - set a quest in a player

Syntax:
	int set_quest(string guild)

Description:
	The set_quest marks a quest as solved in a player. Valid quests are
	listed in /include/quest-data.h.

	You can only set a quest on a player if you own this quest and only
	from the room specified in quest-data.h.

	Note: If you try to set a player's quest illegally, this will be
	logged!

Return value:
	1 if the set_quest was successful, 0 if not.

Examples:
	this_player()->set_quest("orc_slayer");

See also:


This page was generated in LPC

Imprint / Impressum