Event.GetFloat Method

Returns the floating point value of a game event's key.

float GetFloat(const char[] key, float defValue)

Parameters

const char[] key

Name of event key.

float defValue

Optional default value to use if the key is not found.

Return Value

The floating point value of the specified event key.