CBaseAnimating extends CBaseModelEntity
s
c
#
ActiveSequenceDuration(): float
s
c
#

Returns the duration in seconds of the active sequence.
GetAttachmentAngles(attachmentint): Vector
s
c
#

Get the attachment id's angles as a p,y,r vector.
GetAttachmentForward(attachmentint): Vector
s
c
#

Get the attachment id's forward vector.
GetAttachmentOrigin(attachmentint): Vector
s
c
#

Get the attachment id's origin vector.
GetCycle(): float
s
c
#

Get the cycle of the animation.
GetGraphParameter(paramstring): table
s
c
#

Get the value of the given animGraph parameter.
GetModelScale(): float
s
c
#

Get scale of entity's model.
GetSequence(): string
s
c
#

Returns the name of the active sequence.
IsSequenceFinished(): bool
s
c
#

Ask whether the main sequence is done playing.
ResetSequence(sequenceNamestring): nil
s
c
#

Sets the active sequence by name, resetting the current cycle.
ScriptLookupAttachment(attachmentNamestring): int
s
c
#

Get the named attachment id.
SequenceDuration(sequenceNamestring): float
s
c
#

Returns the duration in seconds of the given sequence name.
SetGraphLookTarget(valueVector): nil
s
c
#

Pass the desired look target in world space to the graph.
SetGraphParameter(paramstring, svArgtable): nil
s
c
#

Set the specific param value, type is inferred from the type in script.
SetGraphParameterBool(namestring, valuebool): nil
s
c
#

Set the specific param on or off.
SetGraphParameterEnum(namestring, valueint): nil
s
c
#

Pass the enum (int) value to the specified param.
SetGraphParameterFloat(namestring, valuefloat): nil
s
c
#

Pass the float value to the specified param.
SetGraphParameterInt(namestring, valueint): nil
s
c
#

Pass the int value to the specified param.
SetGraphParameterVector(namestring, valueVector): nil
s
c
#

Pass the vector value to the specified param in the graph.
SetModelScale(scalefloat): nil
s
c
#

Set scale of entity's model.
SetPoseParameter(namestring, valuefloat): float
s
c
#

Set the specified pose parameter to the specified value.
SetSequence(sequenceNamestring): nil
s
c
#

Sets the active sequence by name, keeping the current cycle.
StopAnimation(): nil
s
c
#

Stop the current animation by setting playback rate to 0.0.