$cd (GoldSrc)
Jump to navigation
Jump to search
(only in )(also in
)(not in
)
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]] "shell.mdl" [[$cdtexture]] "models/weapons/shell" [[$body]] "Shell" "shell.smd" [[$sequence]] "idle" "shell.smd"