Entity:AddGestureSequence

From Garry's Mod
Jump to: navigation, search
 Entity:AddGestureSequence( )

Contents

Description

Adds a gesture animation to the entity and plays it.
See Entity:AddGesture for a function that takes ACT_ Enums.
See also Entity:AddLayeredSequence.

NOTE This function only works on BaseAnimatingOverlay entites!

Arguments

number sequence

The sequence ID to play as the gesture. See Entity:LookupSequence.

Arguments

boolean autokill=true

Returns

number

Layer ID of the started gesture, used to manipulate the played gesture by other functions.
Personal tools
Navigation