SetObjectiveDisplayed - Quest

Revision as of 06:40, 20 March 2015 by imported>Terra Nova2 (→‎Notes: fixed typos.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Member of: Quest Script

Sets whether the specified quest objective is displayed or not.

SyntaxEdit

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

ParametersEdit

  • 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 ValueEdit

None.

ExamplesEdit

; Display objective 10
MyQuest.SetObjectiveDisplayed(10)


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

NotesEdit

  • Targets under Quest Objective Data must be filled at the time of calling SetObjectiveDisplayed() or they will remain empty on subsequent calls to the function (they are not "refreshed" by this function even if filled by papyrus between calls).

See AlsoEdit