From Valve Developer Community
Revision as of 12:27, 2 January 2012 by Dmx6 (talk | contribs)

Jump to: navigation, search

The QC commands $pushd and $popd 'push' and 'pop' directories to and from the QC's active folder. Multiple $pushd can be nested inside each other, so long as there are a corresponding number of $popd.


$pushd <path>


$modelname	"props\fan.mdl"
$cdmaterials	"models\props\"
$model	fan	"fan.smd"

$pushd	".\new animations\"
$sequence	rotate	"rotate.smd"

$sequence	idle	"idle.smd"