Background for Fallout 4
Member of the ObjectReference script
LocationfunctionOpenWorkshopSettlementMenuEx(KeywordakActionKW, MessageastrConfirm=NONE, LocationaLocToHighlight=NONE, FormListakIncludeKeywordList=NONE, FormListakExcludeKeywordList=NONE, boolabExcludeZeroPopulation=false, boolabOnlyOwnedWorkshops=true, boolabTurnOffHeader=false, boolabOnlyPotentialVassalSettlements=false, boolabDisableReservedByQuests=false)Native

Description

Wiki Description

If this is a workshop NPC, opens up the Workshop Caravan submenu, which allows you to send this NPC to another workshop settlement.

Documentation Comment

If this is a workshop NPC, opens up the Workshop Caravan submenu, which allows you to send this NPC to another workshop settlement.
Returns selected location after user has chosen one, or NONE if user exited out without choosing


Parameters

  1. KeywordakActionKW

    CK Wiki Description

    Qualifier keyword that will get passed back to scripts to signify how to act on workshop data.

  2. MessageastrConfirm=NONE

    CK Wiki Description

    Optional confirm message to show in menu. If None, default message is used.

    • Default:none
  3. LocationaLocToHighlight=NONE

    CK Wiki Description

    Optional starting location to highlight. If None, first location in list is highlighted.

    • Default:none
  4. FormListakIncludeKeywordList=NONE

    CK Wiki Description

    Optional Qualifier formlist of keywords that settlements to include have.

    • Default:none
  5. FormListakExcludeKeywordList=NONE

    CK Wiki Description

    Optional Qualifier formlist of keywords that settlements to exclude have.

    • Default:None
  6. boolabExcludeZeroPopulation=false

    CK Wiki Description

    Optional Qualifier flag that if true will remove workshops with zero population from the list.

    • Default:false
  7. boolabOnlyOwnedWorkshops=true

    CK Wiki Description

    Optional Qualifier flag that if true will only show owned workshops.

    • Default:true
  8. boolabTurnOffHeader=false

    CK Wiki Description

    Optional Qualifier flag that if true will turn off the header text.

    • Default:false
  9. boolabOnlyPotentialVassalSettlements=false

    CK Wiki Description

    Optional Qualifier flag that if true will only show vassal settlements.

    • Default:false
  10. boolabDisableReservedByQuests=false

    CK Wiki Description

    Optional Qualifier flag that if true will only show vassal settlements.

    • Default:false

Examples

; Open the workshop caravan menu for Bob, assuming Bob is a workshop NPC
Bob.OpenWorkshopSettlementMenu(WorkshopAssignCaravan_DO, DoItMessage)

Auto-Generated Example

Keyword myKeyword__akActionKW
Message myMessage__astrConfirm
Location myLocation__aLocToHighlight
FormList myFormList__akIncludeKeywordList
FormList myFormList__akExcludeKeywordList
bool myBool__abExcludeZeroPopulation
bool myBool__abOnlyOwnedWorkshops
bool myBool__abTurnOffHeader
bool myBool__abOnlyPotentialVassalSettlements
bool myBool__abDisableReservedByQuests

Location returnedValue = myObjectReference__toCallFunctionOn.OpenWorkshopSettlementMenuEx(myKeyword__akActionKW, myMessage__astrConfirm, myLocation__aLocToHighlight, myFormList__akIncludeKeywordList, myFormList__akExcludeKeywordList, myBool__abExcludeZeroPopulation, myBool__abOnlyOwnedWorkshops, myBool__abTurnOffHeader, myBool__abOnlyPotentialVassalSettlements, myBool__abDisableReservedByQuests)

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.