Garry's Mod Wiki

Entity:RestartGesture

Entity:RestartGesture

  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 Enums/ACT and Entity:GetSequenceActivity
2 boolean addIfMissing = true
Add/start the gesture to if it has not been yet started.
3 boolean autokill = true

Special Pages


Wikis

?

Render Time: 46ms

DB GetPage 24
Generate Html 6
SaveChanges (1) 7
Render Body 0
Render Sidebar 7