Mod:Creation Kit/IncrementStat - Game

Member of: Mod:Creation Kit/Game Script

Modifies the specified misc stat by the given amount.

Syntax
Function IncrementStat(string asStatName, int aiModAmount = 1) native global

Parameters

 * asStatName: The name of the MiscStat
 * aiModAmount: How much to alter the stat by
 * Default: 1

Return Value
None.

Examples
Game.IncrementStat("Houses Owned") Game.IncrementStat("Standing Stones Found", 3)
 * Increment the "Houses Owned" stat by 1
 * Increment the "Standing Stones Found" stat by 3