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: 47ms

DB GetPage 11
Generate Html 12
SaveChanges (1) 9
Render Body 0
Render Sidebar 12