$popd

From Valve Developer Community
Revision as of 15:33, 28 April 2008 by JeffLane (talk | contribs) (minor cleanup)
Jump to navigation Jump to search

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

Syntax

$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"