GetKeywordDataForCurrentLocation

Revision as of 10:05, 23 February 2024 by Xieve (talk | contribs) (→‎Description: Minor clarification)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

DescriptionEdit

The SetKeywordDataForLocation Console Command can be used to store a float on a Location's Keyword.

GetKeywordDataForCurrentLocation returns this value for the current location of the subject, if any. It otherwise returns 0.

SyntaxEdit

GetKeywordDataForCurrentLocation <Keyword>

ExampleEdit

SetKeywordDataForLocation BarleyDarkFarmLocation CWCost 10
GetKeywordDataForCurrentLocation CWCost ; Returns 10 if the subject is in BarleyDarkFarmLocation

See AlsoEdit

Papyrus VersionEdit

GetKeywordData - Location