$prepend

From Valve Developer Community
Revision as of 12:14, 22 September 2023 by Equalizer5118 (talk | contribs)
Jump to navigation Jump to search
English (en)Translate (Translate)
Please see $continue QC command for further info.

Allows you to add more options to the specified sequences or animations after declared, by expanding it, except the options are processed before currently set options for the specified animation. This somehow also allow expand macros

Syntax

 $prepend "SequenceName" <options>

Examples

$sequence "idle" a_idle {
	loop fps 40
	iklock "rfoot" 1 0
	iklock "lfoot" 1 0
}

// more QC stuff \\

// add this options before all other $sequence "idle" options
$prepend "idle" {
	activity ACT_IDLE 1
}

See also