You are viewing an old version of this page. Return to the latest version.
Difference between revisions of "LUA:AddQuestStepObtainItem"
(Removed old Layout) |
|||
| Line 18: | Line 18: | ||
: ''param6'' is the taskgroup string | : ''param6'' is the taskgroup string | ||
: ''param7'' is the icon for the step | : ''param7'' is the icon for the step | ||
| − | : '' | + | : ''param8'' is the Item id |
Revision as of 18:49, 9 June 2018
LUA - AddCoin
Return to: LUA | Tutorials | Portal | Forum | Project Manager | Bug Tracker
LUA Functions: AddQuestStepObtainItem()
Adds a step in your quest that requires you to obtain an item(s) to advance the quest.
Syntax
AddQuestStepObtainItem(Quest, StepID, StepText, Quantity, Percentage, TaskGroupText, Icon, Item ID(s))
Parameters
- Required - param1 (Quest), param2 (int32), param3 (string), param4 (int32), param5 (float), param6 (string), param7 (int16), param8 (int32)
- param1 is the quest we are adding a step to
- param2 is the step id
- param3 is the step description
- param4 is the quantity
- param5 is the percentage
- param6 is the taskgroup string
- param7 is the icon for the step
- param8 is the Item id
Usage
AddQuestStepObtainItem(Quest, 2, "I must collect five skulls of fallen Iksar.", 5, 100, "I Must gather several Iksar skulls scattered across the Scale Yard.", 91, 2797)