System/SetCVar

From Blue Mars Developer Guidebook

Jump to: navigation, search
There are security restrictions on this article


This is a System function

Function

SetCVar(name, value)
sets the value of a console variable
name - string name of the console variable
value - new value of the console variable


Usage

When this is called from a third party developer script, the variable will be automatically set back to its original value when the level is unloaded.

Example

See ARDebug

Problems with this wiki page? Contact us either by: Support Email or Support Ticket System

Blue Mars Guidebook Privacy Policy
Blue Mars Guidebook Community Guidelines

Personal tools