$popd

From Valve Developer Community
Revision as of 20:57, 13 October 2007 by Ts2do (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"