Garry's Mod Wiki

Garry's Mod Wiki

  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.

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...