Entity:SetLayerDuration

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

Description

Sets the duration of given layer. This internally overrides the Entity:SetLayerPlaybackRate.

NOTE This function only works on BaseAnimatingOverlay entites!

Arguments

number layerID

The Layer ID

Arguments

number duration

The new duration of the layer in seconds.
Personal tools
Navigation