You are viewing an old version of this page. Return to the latest version.
Version of 16:39, 3 April 2009 by Christopher
No categories assigned
LUA:ProvidesQuest
- Last edited 16 years ago by Christopher
Syntax
ProvidesQuest(Quest, QuestID)
Explination
This is a rather important function that will go under your NPCs "spawn(NPC)" function. It lets the server know which quests the NPC provides.
Example
function spawn(NPC)
ProvidesQuest(NPC, QUEST_1) ProvidesQuest(NPC, QUEST_2) ProvidesQuest(NPC, QUEST_3) ProvidesQuest(NPC, QUEST_4)
end