Skip to content

tes3bountyData⚓︎

A container for a collection of string keys and number values, associated with player bounty.

Properties⚓︎

keys⚓︎

Read-only. An array of all crime keys in the container.

Returns:

  • result (string[])

Methods⚓︎

getValue⚓︎

Gets the value of a given crime statistic.

local value = myObject:getValue(key)

Parameters:

  • key (string): The key for the crime statistic.

Returns:

  • value (number)

modValue⚓︎

Modifies the value of a given crime statistic.

local newValue = myObject:modValue(key, delta)

Parameters:

  • key (string): The key for the crime statistic.
  • delta (number): The change in value for the statistic.

Returns:

  • newValue (number)

setValue⚓︎

Sets the value of a given crime statistic.

myObject:setValue(key, value)

Parameters:

  • key (string): The key for the crime statistic.
  • value (number): The new value for the statistic.