$append: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
(Clarify how $append works with examples)
Line 1: Line 1:
{{lang|$append|$title=$append}}
{{lang|$append|$title=$append}}
'''<code style="color:white">$append</code>''' is the [[:Category:QC_Commands|QC command]]. Allows you to add more options to the specifed [[$animation]] or [[$sequence]]
{{entity|type=[[:Category:QC_Commands|QC command]]|$append|}}
 
{{inline note | ''Please see [[$continue]] QC command for further info.''}}
Allows you to add more options to the specified [[$sequence|sequences]] or [[$animation|animations]] after declared.


==Syntax==
==Syntax==
  '''$append <animation/sequence name>'''
 
<source lang=php>
  $append "SequenceName" <options>
</source>
 
== Examples ==
 
<source lang=php>
 
$sequence "idle" a_idle {
loop fps 40
iklock "rfoot" 1 0
iklock "lfoot" 1 0
}
 
// more QC stuff \\
 
// add this options after all other $sequence options
$append "idle" noautoik x y z
 
</source>
 
== See also ==
* [[$prepend]] Add more options to the specified [[$sequence|sequences]] or [[$animation|animations]] '''before''' any other option.
* [[$continue]] Add more options to the specified [[$sequence|sequences]] or [[$animation|animations]]. '''Replaces''' both [[$prepend]] and [[$append]] QC commands.
* [[$definemacro]]
* [[$definevariable]]


[[Category:Modeling]]
[[Category:Modeling]]
[[Category:QC Commands|A]]
[[Category:QC Commands|A]]
[[Category:append]]__NOTOC__
[[Category:Source]]__NOTOC__
[[Category:Source]]__NOTOC__

Revision as of 14:38, 14 April 2023

English (en)Translate (Translate)

Template:Entity

Please see $continue QC command for further info.

Allows you to add more options to the specified sequences or animations after declared.

Syntax

 $append "SequenceName" <options>

Examples

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

// more QC stuff \\

// add this options after all other $sequence options
$append "idle" noautoik x y z

See also