No categories assigned

LUA:ProvidesQuest

Revision as of 16:39, 3 April 2009 by Xanibunib (talk | contribs) (New page: '''Syntax'''<br> ProvidesQuest(Quest, QuestID)<br> '''Explination'''<br> This is a rather important function that will go under your NPCs "spawn(NPC)" function. It lets the server know wh...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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



Back to LUA Functions