You are viewing an old version of this page. Return to the latest version.
Difference between revisions of "LUA:AddQuestStep"
| Line 1: | Line 1: | ||
| − | + | = LUA Functions: AddQuestStep() = | |
| − | AddQuestStep( | + | Adds a generic quest step to the given quest. |
| − | |||
| − | |||
| − | + | ==== Syntax ==== | |
| + | AddQuestStep(param1, param2, param3, param4, param5, param6, [param7]) | ||
| − | |||
| − | |||
| − | + | ==== Parameters ==== | |
| + | ; Required - ''param1'' (Quest), ''param2'' (int32), ''param3'' (string), ''param4'' (int32), ''param5'' (float), ''param6'' (string) | ||
| + | : ''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 | ||
| + | ; Optional - ''param7'' (int16) | ||
| + | : ''param7'' is the icon for the step | ||
| + | |||
| + | |||
| + | ==== Usage ==== | ||
| + | <pre> | ||
| + | |||
| + | </pre> | ||
Revision as of 17:15, 11 October 2012
LUA Functions: AddQuestStep()
Adds a generic quest step to the given quest.
Syntax
AddQuestStep(param1, param2, param3, param4, param5, param6, [param7])
Parameters
- Required - param1 (Quest), param2 (int32), param3 (string), param4 (int32), param5 (float), param6 (string)
- 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
- Optional - param7 (int16)
- param7 is the icon for the step