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 Enums/ACT.

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.

Page Links


Special Pages


Wikis

?

Render Time: 22ms

Session 0
DB GetPage 3
Generate Html 1
Render Body 0
Render Sidebar 7