Garry's Mod Wiki

Garry's Mod Wiki

  Entity:SetCycle( number value )

Description

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

Viewmodels overwrite their animation cycle every frame, for prediction/interpolation purposes.

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 )

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...