var_for_name(STRING* name);
Returns a pointer to a variable with the given name. If the name string
contains a '=' followed by a number, the variable is set to that number.
Otherwise a '=' and the current variable value is appended to the string.
This function can be used to display or alter variables during gameplay
for debugging purposes.
Parameters:
name - STRING* or char*
pointer that contains
a variable name or assignment.
Edition:
LC
Example:
var_for_name("camera.clip_far = 20000");
See also:
exec,
beep