$cd (GoldSrc): Difference between revisions
Jump to navigation
Jump to search
SirYodaJedi (talk | contribs) m (SirYodaJedi moved page $cd to $cd (GoldSrc) without leaving a redirect) |
(Removing deprecated Category) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{gldsrc topicon}} | {{gldsrc topicon}} | ||
{{tabsBar|main=gs|base=$cd}} | {{tabsBar|main=gs|base=$cd}} | ||
{{ | {{this is a|QC command|engine=goldSrc|name=$cd}} Used to set the current working directory for the QC script. | ||
==Description== | ==Description== | ||
$cd "path/to/files/" | $cd "path/to/files/" | ||
==Parameters== | ==Parameters== | ||
* The path should be a full or relative path on the file system. | * The path should be a full or relative path on the file system. For the path where the QC script is, use {{code|"."}} | ||
==Example== | ==Example== | ||
Line 22: | Line 17: | ||
[[$sequence]] "idle" "shell" | [[$sequence]] "idle" "shell" | ||
}} | }} | ||
Latest revision as of 21:14, 16 July 2025
$cd
is a QC command available in all GoldSrc games. Used to set the current working directory for the QC script.
Description
$cd "path/to/files/"
Parameters
- The path should be a full or relative path on the file system. For the path where the QC script is, use "."