Mod:Creation Kit/ModifyKeywordData - Location

Member of: Mod:Creation Kit/Location Script

Modifies the data attached to the specified keyword on this location by adding the passed-in data to the current value, but as a single function call so it is thread-safe.

Syntax
Function ModifyKeywordData(Keyword akKeyword, float afData)

Parameters

 * akKeyword: The Keyword to query for.
 * afData: The amount to modify the current value by.

Return Value
None.

Examples
MyHouseProperty.ModifyKeywordData(CostKeywordProperty, 50) MyHouseProperty.ModifyKeywordData(CostKeywordProperty, -25)
 * Add 50 to the cost keyword on this location
 * Subtract 25 from the cost keyword on this location