Garry's Mod Wiki

Revision Difference

Structures/SequenceInfo#512060

<cat>struct</cat>⤶ <structure>⤶ <description>Used by <page>Entity:GetSequenceInfo</page>.</description>⤶ <fields>{{StructureField|string|label|Name of the sequence.</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.}}{{StructureField|number|numblends}}{{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}}{{StructureField|number|pose}}{{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>.}}⤶ }}