Garry's Mod Wiki

Entity:SetCycle

Entity:SetCycle

  Entity:SetCycle( number value )

Description

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

This does not work with viewmodels.

Issue Tracker: 3038

Arguments

1 number value
The desired cycle value

Example

Set the entity to be half way through its current sequence

ent:SetCycle( .5 )

Special Pages


Wikis

?

Render Time: 67ms

DB GetPage 41
Generate Html 1
SaveChanges (1) 15
Render Body 0
Render Sidebar 7