Garry's Mod Wiki

Entity:AddGesture

number Entity:AddGesture( number activity, boolean autokill = true )

Description

Adds a gesture animation to the entity and plays it.

See Entity:AddGestureSequence and Entity:AddLayeredSequence for functions that takes sequences instead of Enums/ACT.

This function only works on BaseAnimatingOverlay entites!

Arguments

1 number activity
The activity to play as the gesture. See Enums/ACT.
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: 34ms

Session 0
DB GetPage 3
Generate Html 6
SaveChanges 18
Render Body 0
Render Sidebar 6