Garry's Mod Wiki

Garry's Mod Wiki

  Entity:RestartGesture( number activity, boolean addIfMissing = true, boolean autokill = true )

Description

Restarts the entity's animation gesture. If the given gesture is already playing, it will reset it and play it from the beginning.

This function only works on BaseAnimatingOverlay entites.

Arguments

1 number activity
The activity number to send to the entity. See ACT enum and Entity:GetSequenceActivity
2 boolean addIfMissing = true
Add/start the gesture to if it has not been yet started.
3 boolean autokill = true

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