$popd

From Valve Developer Community
Revision as of 18:26, 7 November 2007 by Beeswax (talk | contribs)
Jump to navigation Jump to search

This will revert the working directory to what it was before the $pushd command was issued.

Description

$popd

Example

$modelname "props/fan.mdl"
$cdmaterials "models/props/"
$model "Fan" "fan.smd"
$pushd ".\new animations\"
$sequence "rotate" "rotate.smd"
$popd
$sequence "idle" "idle.smd"