Index       Console Variables

trap_Cvar_VariableIntegerValue

Description

Get the value of a cvar as an interger.

Prototype

    int trap_Cvar_VariableIntegerValue(
        const char *var_name
    );

Parameters

var_name : A null-terminated string containing the name of the vmCvar to retrieve a value from.

Remarks

Retrieve the integer value of a cvar that is currently stored in the "master copy".

Return value

Returns the integer value of the cvar.

See also

trap_Cvar_VariableStringBuffer

Author(s)

-=Hunter-Killer=-


QuakeIII trap calls reference