Garry's Mod Wiki

Garry's Mod Wiki

  Entity:RemoveGesture( number activity )

Description

Removes and stops the gesture with given activity. Same as Entity:RemoveLayer with Entity:FindGestureLayer.

This function only works on BaseAnimatingOverlay entites!
Layer removal procedures aren't immediate. Layer removal functions actually manipulate Entity:GetLayerWeight down to 0, then remove the layer in next intervals. If the targeted layer's weight keeps changing, your layer will not be removed.

Arguments

1 number activity
The activity remove. See ACT enum.

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 four times a day. Edits and history are not available.

Last Parsed: Loading...