Garry's Mod Wiki

Garry's Mod Wiki

  number Entity:AddLayeredSequence( number sequence, number priority )

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

This function only works on BaseAnimatingOverlay entites!

Arguments

1 number sequence
The sequence ID to play as the gesture. See Entity:LookupSequence.
2 number priority

Returns

1 number
Layer ID of created layer

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 twice a day. Edits and history are not available.

Last Parsed: Loading...