Garry's Mod Wiki

Garry's Mod Wiki

  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 ACT enum.

This function only works on BaseAnimatingOverlay entites!

Arguments

1 number activity
The activity to play as the gesture. See ACT enum.
2 boolean autokill = true

Returns

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

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated twice a day. Edits and history are not available.

Last Parsed: Loading...