Garry's Mod Wiki

Revision Difference

Player:AddVCDSequenceToGestureSlot#512657

<function name="AddVCDSequenceToGestureSlot" parent="Player" type="classfunc">⤶ <description>Plays a sequence directly from a sequence number, similar to <page>Player:AnimRestartGesture</page>. This function has the advantage to play sequences that haven't been bound to an existing <page>ACT</page></description>⤶ <realm>Shared</realm>⤶ <args>⤶ <arg name="slot" type="number">Gesture slot using &lt;page&gt;GESTURE_SLOT&lt;/page&gt;</arg>⤶ <arg name="sequenceId" type="number">The sequence ID to play, can be retrieved with &lt;page&gt;Entity:LookupSequence&lt;/page&gt;.</arg>⤶ <arg name="cycle" type="number">The cycle to start the animation at, ranges from 0 to 1.</arg>⤶ <arg name="autokill" type="boolean" default="false">If the animation should not loop. true = stops the animation, false = the animation keeps playing.</arg>⤶ </args>⤶ </function>⤶ ⤶