Entity:SetLayerCycle

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

Description

Sets the animation cycle/frame of given layer.

NOTE This function only works on BaseAnimatingOverlay entites!

Arguments

number layerID

The Layer ID

Arguments

number duration

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