Garry's Mod Wiki

Entity:AddGestureSequence

  number Entity:AddGestureSequence( number sequence, boolean autokill = true )

Description

Adds a gesture animation to the entity and plays it.

See Entity:AddGesture for a function that takes ACT enum.

See also Entity:AddLayeredSequence.

This function only works on BaseAnimatingOverlay entites!

Arguments

1 number sequence
The sequence ID to play as the gesture. See Entity:LookupSequence.
2 boolean autokill = true

Returns

1 number
Layer ID of the started gesture, used to manipulate the played gesture by other functions.