No categories assigned
LUA:AddQuestPrereqModelType
- Last edited 4 years ago by Vlash Nytefall
LUA:AllFunctions - AddQuestPrereqModelType
Return to: LUA:AllFunctions | Tutorials | Portal | Forum | Project Manager | Bug Tracker
Adds a model type prerequisite to the given quest.
Syntax
AddQuestPrereqModelType(param1, param2)
Parameters
- Required - param1 (Quest), param2 (int16)
- param1 is the quest to add the prerequisite to
- param2 is the model type id
Example
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.
Notes
None