Entity/RestartGesture

From Garry's Mod
Jump to: navigation, search
 Entity:RestartGesture( )

Contents

Description

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

NOTE

This function only works on BaseAnimatingOverlay entites.

Arguments

number activity

The activity number to send to the entity. See ACT_ Enums and Entity:GetSequenceActivity

Arguments

boolean addIfMissing=true

Add/start the gesture to if it has not been yet started.

Arguments

boolean autokill=true

Personal tools
Navigation