HolyLib Wiki

IGameEvent:GetFloat

 number IGameEvent:GetFloat( string key, number fallback )

Description

Returns the float stored in the specific key.

Arguments

1string key

The key to get the value of

2number fallback

The fallback value if the key doesn't exist / isn't set

Returns

1number value

The value found, or the fallback value