Player/AddVCDSequenceToGestureSlot

From Garry's Mod
Jump to: navigation, search
 Player:AddVCDSequenceToGestureSlot( )

Contents

Description

Plays a sequence directly from a sequence number, similar to Player:AnimRestartGesture. This function has the advantage to play sequences that haven't been bound to an existing ACT_ Enums

Arguments

number slot

Gesture slot using GESTURE_SLOT_ Enums

Arguments

number sequenceId

The sequence ID to play, can be retrieved with Entity:LookupSequence.

Arguments

number cycle

The cycle to start the animation at, ranges from 0 to 1.

Arguments

boolean autokill=false

If the animation should not loop. true = stops the animation, false = the animation keeps playing.
Personal tools
Navigation