$declaresequence: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
 
No edit summary
Line 1: Line 1:
<code>$declaresequence (name)</code>
Forward declares a sequence. This useful when you want to reference a sequence that isn't locally declared for some reason, such as one that's part of an external .mdl file (with <code>[[$includemodel]]</code>).


* Forward declares a sequence. This useful when sequence that want to add other sequences as layers that aren’t locally declared, such as when they’re actually part of an external mdl file. $declaresequence makes a empty sequence entry so that the local sequence pointers can get set, and at run time these references are overwritten with the actual sequence index.
== Usage ==


[[Category:QC Commands]]
$declaresequence <name>
 
[[Category:QC Commands|D]]

Revision as of 13:32, 27 April 2008

Forward declares a sequence. This useful when you want to reference a sequence that isn't locally declared for some reason, such as one that's part of an external .mdl file (with $includemodel).

Usage

$declaresequence <name>