SetObjectiveDisplayed

From the CreationKit Wiki
Revision as of 06:39, 20 March 2015 by imported>Terra Nova2 (→‎Notes: Last note was added to the wrong version of this function.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Description[edit | edit source]

SetObjectiveDisplayed turns a quest objective on or off.

Syntax[edit | edit source]

SetObjectiveDisplayed QuestName, Index, DisplayFlag (0/1)

Examples[edit | edit source]

SetObjectiveDisplayed MyQuest 10 1

Turns on objective 10.

Notes[edit | edit source]

  • If this is the first objective of the quest to be displayed, the player will receive a "Quest Added" message on screen.
  • If the quest is not currently running, SetObjectiveDisplayed ... 1 will automatically start it.
  • Always remember that SetObjectiveDisplayed only accepts indices that are defined in the quest's "Quest Objectives" tab. When you try to display a quest objective that isn't defined, nothing will happen.

See Also[edit | edit source]

Reference[edit | edit source]

None provided.

Papyrus Version[edit | edit source]

Quest.SetObjectiveDisplayed (Papyrus)