Garry's Mod Wiki

Entity:FrameAdvance

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.

Special Pages


Wikis

?

Render Time: 18ms

DB GetPage 2
Generate Html 2
SaveChanges (1) 6
Render Body 0
Render Sidebar 7