Entity:GetLayerCycle

From Garry's Mod
Jump to: navigation, search
 Entity:GetLayerCycle( )

Description

Returns the animation cycle/frame for given layer.

NOTE This function only works on BaseAnimatingOverlay entites!

Arguments

number layerID

The Layer ID

Returns

number

The animation cycle/frame for given layer.
Personal tools
Navigation