Engine:CCMD varedit: Difference between revisions

Line 15: Line 15:


This command behaves like a combination of 'var' and 'set', but will never create a variable:
This command behaves like a combination of 'var' and 'set', but will never create a variable:
* varedit - Never creates variables, sets anytime variable already exists.
* varedit - Never creates variables, and sets anytime variable already exists.
* var - Creates and sets variables, only if the variable not yet exist.
* var - Creates and sets variables, only if the variable not yet exist.
* set - Creates or sets variable, any time.
* set - Creates or sets variable, any time.