MMTMMT Docs
Diagnostics

T106

invalid map key type

T106

Map keys must use a supported type, such as string or int. Check the map reference for the allowed key types.

Failing example

script "example"
state values: map<float, int> = map<float, int>(2)

Corrected example

script "fixed"
state values: map<string, int> = map<string, int>(2)

On this page