Entity:AddLayeredSequence

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

Contents

Description

Adds a gesture animation to the entity and plays it.
See Entity:AddGestureSequence for a function that doesn't take priority.
See Entity:AddGesture for a function that takes ACT_ Enums.

NOTE This function only works on BaseAnimatingOverlay entites!

Arguments

number sequence

The sequence ID to play as the gesture. See Entity:LookupSequence.

Arguments

number priority

Returns

number

Layer ID of created layer
Personal tools
Navigation