Garry's Mod Wiki

Entity:FrameAdvance

Entity:FrameAdvance()

Description

Advances the cycle of an animated entity.

Animations that loop will automatically reset the cycle so you don't have to - ones that do not will stop animating once you reach the end of their sequence.

Do not call this function multiple times a frame, as it can cause unexpected results, such as animations playing at increased rate, etc.

NextBot:BodyMoveXY calls this internally, so do not call this function before or after NextBot:BodyMoveXY.

Page Links


Special Pages


Wikis

?

Render Time: 37ms

DB GetPage 4
Generate Html 3
SaveChanges (1) 11
Render Body 0
Render Sidebar 17