defineSpeedModifier
defineSpeedModifier(
name):SpeedModifierKey
Defines the key a game’s speed modifier runs under, such as
"sprint". Called once, at module scope; one name defined in two
places is one key, so two mechanics share a modifier by defining the
same name, and a second add under a key replaces the first.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
name |
string |