Entity/SetCycle

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

Contents

Description

Sets the progress of the current animation to a specific value between 0 and 1.

BUG

This does not work with viewmodels.

Issue Tracker: #3038

Arguments

number value

The desired cycle value

Examples

Example

Set the entity to be half way through its current sequence

ent:SetCycle( .5 )


Personal tools
Navigation