Garry's Mod Wiki

Player:AddVCDSequenceToGestureSlot

Player:AddVCDSequenceToGestureSlot( number slot, number sequenceId, number cycle, boolean autokill = false )

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 Enums/ACT

Arguments

1 number slot
Gesture slot using Enums/GESTURE_SLOT
2 number sequenceId
The sequence ID to play, can be retrieved with Entity:LookupSequence.
3 number cycle
The cycle to start the animation at, ranges from 0 to 1.
4 boolean autokill = false
If the animation should not loop. true = stops the animation, false = the animation keeps playing.

Page Links


Special Pages


Wikis

?

Render Time: 44ms

DB GetPage 3
Generate Html 12
SaveChanges (1) 9
Render Body 0
Render Sidebar 17