Difference between revisions of "SetKeywordDataForLocation"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>Scornett-Bot
m (Script running global find and replace: Category:Console Commands for Category:Console Functions)
 
m (→‎See Also: Added link to GetKeywordDataForCurrentLocation)
 
Line 11: Line 11:
==See Also==
==See Also==
*[[GetKeywordDataForLocation]]
*[[GetKeywordDataForLocation]]
*[[GetKeywordDataForCurrentLocation]]


==Papyrus Version==
==Papyrus Version==

Latest revision as of 10:06, 23 February 2024

Description[edit | edit source]

SetKeywordDataForLocation (or the equivalent Papyrus Function) can be used to store a float on a Location's Keyword. After storing this value, you can use GetKeywordDataForLocation to retrieve it.

Syntax[edit | edit source]

SetKeywordDataForLocation <Location> <Keyword> <Float Value>

Examples[edit | edit source]

SetKeywordDataForLocation BarleydarkFarmLocation CWCost 10
GetKeywordDataForLocation BarleydarkFarmLocation CWCost    ;Returns 10

See Also[edit | edit source]

Papyrus Version[edit | edit source]

SetKeywordData - Location