Mod:Creation Kit/SetObjectiveDisplayed - Quest

Member of: Mod:Creation Kit/Quest Script

Sets whether the specified quest objective is displayed or not.

Syntax
Function SetObjectiveDisplayed(int aiObjective, bool abDisplayed = true, bool abForce = false) native

Parameters

 * aiObjective: The objective to set as displayed or hidden.
 * abDisplayed: Whether the objective is displayed or not.
 * Default: true
 * abForce: If this is true, the objective will be displayed, even if it was displayed before
 * Default: false

Return Value
None.

Examples
MyQuest.SetObjectiveDisplayed(10) MyQuest.SetObjectiveDisplayed(15, abForce = true)
 * Display objective 10
 * Display objective 15, even if it was displayed before