Background for Fallout 4
Member of the Quest script
voidfunctionSetObjectiveDisplayed(intaiObjective, boolabDisplayed=true, boolabForce=false)Native

Description

Wiki Description

Sets whether the specified quest objective is displayed or not.

Documentation Comment

Sets the specified objective to displayed or hidden - if abForce is true, will display the objective even if it has already been displayed


Parameters

  1. intaiObjective

    CK Wiki Description

    The objective to set as displayed or hidden.

  2. boolabDisplayed=true

    CK Wiki Description

    Whether the objective is displayed or not.

  3. boolabForce=false

    CK Wiki Description

    If this is true, the objective will be displayed, even if it was displayed before


Examples

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

Auto-Generated Example

int myInt__aiObjective
bool myBool__abDisplayed
bool myBool__abForce

myQuest__toCallFunctionOn.SetObjectiveDisplayed(myInt__aiObjective, myBool__abDisplayed, myBool__abForce)

Related Pages


Additional References

View this function’s page on the Fallout 4 Creation Kit Wiki

Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.