Garry's Mod Wiki

Revision Difference

Structures/SequenceInfo#517035

<cat>struct</cat> <structure> <description>Used by <page>Entity:GetSequenceInfo</page>.</description> <fields>{{StructureField|string|label|Name of the sequence.</fields>⤶ <fields>⤶ <item name="label" type="string">Name of the sequence.</item>⤶ <item name="activityname" type="string">Name of the activity this sequence is attached to.</item>⤶ <item name="activity" type="number">The activity ID associated with this sequence. See <page>ACT</page>.</item>⤶ <item name="actweight" type="number">How likely this sequence is to be picked when playing an activity its attached to. -1 means this is the only sequence for that activity. (needs validation)</item>⤶ <item name="flags" type="number">The looping and other flags of this sequence.</item>⤶ <item name="numevents" type="number">Number of animation events this sequence has.</item>⤶ <item name="numblends" type="number"></item>⤶ <item name="bbmin" type="number">Mins part of the bounding box for this sequence</item>⤶ <item name="bbmax" type="number">Maxs part of the bounding box for this sequence</item>⤶ <item name="fadeintime" type="number">ideal cross fade in time (0.2 default)</item>⤶ <item name="fadeouttime" type="number">ideal cross fade out time (0.2 default)</item>⤶ <item name="localentrynode" type="number">transition node at entry</item>⤶ <item name="localexitnode" type="number">transition node at exit</item>⤶ <item name="nodeflags" type="number">Transition rules</item>⤶ <item name="lastframe" type="number">Frame that should generate EndOFSequence</item>⤶ <item name="nextseq" type="number">If non 0, the next sequence for auto advancing sequences</item>⤶ <item name="pose" type="number"></item>⤶ <item name="cycleposeindex" type="number">If non 0, index of pose parameter to be used as cycle index. This means that the sequence playback will be controlled by a pose parameter.</item>⤶ <item name="anims" type="table">A 1-based array of all animationIDs associated with this sequence. For use with <page>Entity:GetAnimInfo</page>.</item>⤶ </fields>⤶ </structure> {{StructureField|string|activityname|Name of the activity this sequence is attached to.}}{{StructureField|number|activity|The activity ID associated with this sequence. See <page>ACT</page>.}}{{StructureField|number|actweight|How likely this sequence is to be picked when playing an activity its attached to. -1 means this is the only sequence for that activity. (needs validation)}}{{StructureField|number|flags|The looping and other flags of this sequence.}}{{StructureField|number|numevents|Number of animation events this sequence has.}}<item name="numblends" type="number"></item>⤶ {{StructureField|number|bbmin|Mins part of the bounding box for this sequence}}{{StructureField|number|bbmax|Maxs part of the bounding box for this sequence}}{{StructureField|number|fadeintime|ideal cross fade in time (0.2 default)}}{{StructureField|number|fadeouttime|ideal cross fade out time (0.2 default)}}{{StructureField|number|localentrynode|transition node at entry}}{{StructureField|number|localexitnode|transition node at exit}}{{StructureField|number|nodeflags|Transition rules}}{{StructureField|number|lastframe|Frame that should generate EndOFSequence}}{{StructureField|number|nextseq|If non 0, the next sequence for auto advancing sequences}}<item name="pose" type="number"></item>⤶ {{StructureField|number|cycleposeindex|If non 0, index of pose parameter to be used as cycle index. This means that the sequence playback will be controlled by a pose parameter.}}{{StructureField|table|anims|A 1-based array of all animationIDs associated with this sequence. For use with <page>Entity:GetAnimInfo</page>.}}⤶ }}