This article's documentation is for anything that uses the Source engine. Click here for more information.

$poseparameter: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 1: Line 1:
'''<code>$poseparameter</code>''' is a QC command that allows configuration of a [[blend sequence]]. {{confirm|It appears to be obsolete now that poses can be specified from within the [[$sequence]] itself.}}
{{This is a|c0|name=$poseparameter}} It allows configuration of a [[blend sequence]]. {{confirm|It appears to be obsolete now that poses can be specified from within the [[$sequence]] itself.}}


== Syntax ==
== Syntax ==

Revision as of 12:12, 22 September 2023

$poseparameter is a c0 available in all Source Source games. It allows configuration of a blend sequence.

Confirm:It appears to be obsolete now that poses can be specified from within the $sequence itself.

Syntax

$poseparameter <$sequence name> <int min> <int max> [loop <int>] [wrap]
$poseparameter yaw -90 90 loop 360
$poseparameter vehicle_wheel_fl_spin -180 180 360
loop <int>
Defines a custom value to wrap at?
Todo: Purpose of this.
Tip.pngTip:If a third number is specified without loop being present, studiomdl will add the loop argument implicitly.
wrap
Values less than min wrap around to max, and so on.

See also