Classes

developer »

gameProject »

pedestrianController »

playerPlatform »

punishment »

team »

Concepts

Libraries

Objects

setStat

Description

Sets the specified stat.

Arguments

1 string statID

the stat ID to set.

2 number value

the new value.

Example

-- taken from game/studio/studio.lua


self.stats:setStat("most_employees_at_once", math.max(employeeCount, self.stats:getStat("most_employees_at_once")))