You are viewing an old version of this page. Return to the latest version.
Version of 22:30, 10 October 2012 by I need to Update My Profile
No categories assigned
LUA:AddQuestPrereqRace
- Last edited 4 years ago by Vlash Nytefall
LUA Functions: AddQuestPrereqRace()
Sets a race prerequisite for the given quest.
Syntax
AddQuestPrereqRace(param1, param2)
Parameters
- Required - param1 (Quest), param2 (int8)
- param1 is the quest we will be adding a prerequisite to
- param2 is the race id
Usage
function Init(Quest)
-- only let humans do this quest
AddQuestPrereqRace(Quest, 9)
end
Only humans would be allowed to do this quest.