Difference between revisions of "OpenWorkshopSettlementMenuEx - ObjectReference"

added category
imported>Hannibalektr
imported>Qazaaq
(added category)
 
Line 1: Line 1:
[[Category:Scripting]]
[[Category:Papyrus]]
[[Category:Latent Functions]]
'''Member of:''' [[ObjectReference Script]]
'''Member of:''' [[ObjectReference Script]]


Line 8: Line 5:
== Syntax ==
== Syntax ==
<source lang="papyrus">
<source lang="papyrus">
Location Function OpenWorkshopSettlementMenuEx(Keyword akActionKW, Message astrConfirm = None, \
Location Function OpenWorkshopSettlementMenuEx(Keyword akActionKW, Message astrConfirm = none, \
   Location aLocToHighlight = None, FormList akIncludeKeywordList = None, FormList akExcludeKeywordList = None, \
   Location aLocToHighlight = none, FormList akIncludeKeywordList = none, FormList akExcludeKeywordList = none, \
   bool abExcludeZeroPopulation = false, bool abOnlyOwnedWorkshops= true, bool abTurnOffHeader= false, \
   bool abExcludeZeroPopulation = false, bool abOnlyOwnedWorkshops= true, bool abTurnOffHeader= false, \
   bool abOnlyPotentialVassalSettlements= false, bool abDisableReservedByQuests = false) native
   bool abOnlyPotentialVassalSettlements= false, bool abDisableReservedByQuests = false) Native
</source>
</source>


Line 17: Line 14:
*akActionKW: Qualifier keyword that will get passed back to scripts to signify how to act on workshop data.
*akActionKW: Qualifier keyword that will get passed back to scripts to signify how to act on workshop data.
*astrConfirm : Optional confirm message to show in menu.  If None, default message is used.
*astrConfirm : Optional confirm message to show in menu.  If None, default message is used.
**'''Default''': None
**'''Default''': none
*aLocToHighlight : Optional starting location to highlight.  If None, first location in list is highlighted.
*aLocToHighlight : Optional starting location to highlight.  If None, first location in list is highlighted.
**'''Default''': None
**'''Default''': none
*akIncludeKeywordList: Optional Qualifier formlist of keywords that settlements to include have.
*akIncludeKeywordList: Optional Qualifier formlist of keywords that settlements to include have.
**'''Default''': None
**'''Default''': none
*akExcludeKeywordList: Optional Qualifier formlist of keywords that settlements to exclude have.
*akExcludeKeywordList: Optional Qualifier formlist of keywords that settlements to exclude have.
**'''Default''': None
**'''Default''': None
Line 34: Line 31:
*abDisableReservedByQuests: Optional Qualifier flag that if true will only show vassal settlements.
*abDisableReservedByQuests: Optional Qualifier flag that if true will only show vassal settlements.
**'''Default''': false
**'''Default''': false
== Return Value ==
== Return Value ==
Returns selected location after user has chosen one, or NONE if user exited out without choosing
Returns selected location after user has chosen one, or NONE if user exited out without choosing.


== Examples ==
== Examples ==
<source lang="papyrus">
<source lang="papyrus">
; Open the workshop caravan menu for Bob (assuming Bob is a workshop NPC)
; Open the workshop caravan menu for Bob, assuming Bob is a workshop NPC
Bob.OpenWorkshopSettlementMenu( WorkshopAssignCaravan_DO, DoItMessage)
Bob.OpenWorkshopSettlementMenu(WorkshopAssignCaravan_DO, DoItMessage)
</source>
</source>


== See Also ==
== See Also ==
*[[ObjectReference Script]]
*[[ObjectReference Script]]
[[Category:Scripting]]
[[Category:Papyrus]]
[[Category:Latent Functions]]
[[Category:User Interface]]
Anonymous user