GetKeywordDataForLocation

Revision as of 11:06, 23 February 2024 by Xieve (talk | contribs) (→‎See also: Added link to GetKeywordDataForCurrentLocation)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

DescriptionEdit

The SetKeywordDataForLocation Console Command (or the equivalent Papyrus Function) can be used to store a float on a Location's Keyword.

GetKeywordDataForLocation returns this value, if any. It otherwise returns 0.

SyntaxEdit

GetKeywordDataForLocation <Location> <Keyword>

ExamplesEdit

SetKeywordDataForLocation BarleydarkFarmLocation CWCost 10
GetKeywordDataForLocation BarleydarkFarmLocation CWCost    ;Returns 10
GetKeywordDataForLocation RiftHoldLocation CWOwner ; Returns: 1 for Imperials, 2 for Stormcloaks, 3 for Both, and maybe 0 for None

See AlsoEdit

Papyrus VersionEdit

GetKeywordData - Location