Garry's Mod Wiki

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

Page Links


Special Pages


Wikis

?

Render Time: 91ms

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