SetObjectiveCompleted - Quest
Revision as of 08:30, 17 September 2013 by imported>Iceburg333 (→See Also)
Member of: Quest Script
Sets whether the specified quest objective is completed or not.
SyntaxEdit
Function SetObjectiveCompleted(int aiObjective, bool abCompleted = true) native
ParametersEdit
- aiObjective: The objective to flag as completed or not.
- abCompleted: Whether to flag this objective as completed.
- Default: true
Return ValueEdit
None.
ExamplesEdit
; Set the 10th objective to be completed
MyQuest.SetObjectiveCompleted(10)
; Set the 10th objective to be incomplete
MyQuest.SetObjectiveCompleted(10, false)