You are viewing an old version of this page. Return to the latest version.
Version of 15:04, 11 October 2012 by I need to Update My Profile
No categories assigned
LUA:AddQuestPrereqModelType
- Last edited 4 years ago by Vlash Nytefall
LUA Functions: AddQuestPrereqModelType()
Adds a model type prerequisite to the given quest.
Syntax
AddQuestPrereqModelType(param1, param2)
Parameters
- Required - param1 (Quest), param2 (int16)
- param1 is the quest we are adding a prerequisite to
- param2 is the model type id
Usage
function Init(Quest)
-- Only players with model type 5 can do this quest
AddQuestPrereqModelType(Quest, 5)
end
Only a player with a model type of 5 could do the quest.