Difference between revisions of "ScriptEvent:getCVar"

From Mod Wiki
 
(No difference)

Latest revision as of 16:30, 5 November 2007

Parameters

string name -- Name of the cvar to look up.
string default -- Default value to assign to the cvar if it doesn't already exist.

Result

object

Supported By

sdSysCallThread

Functionality

Returns a cvar wrapper object, which can be used to look up and modify that cvar's value. The returned object will be of type sdCVarWrapper.