$cd (GoldSrc): Difference between revisions
Jump to navigation
Jump to search
m (increased quality) |
mNo edit summary |
||
Line 3: | Line 3: | ||
==Description== | ==Description== | ||
$cd "path/to/files" | $cd "path/to/files" | ||
The default working directory will be the folder of the .qc file. | The default working directory will be the folder of the .qc file. |
Revision as of 20:58, 13 October 2007
Used to set the current working directory for the qc script.
Description
$cd "path/to/files"
The default working directory will be the folder of the .qc file.
Parameters
- The path should be a full or relative path on the file system.
Example
$cd ".\" $modelname "weapons/shell.mdl" $cdmaterials "models/weapons/"
$model "Shell" "shell.smd"
$sequence "idle" "shell.smd"