Garry's Mod Wiki

Entity:AddLayeredSequence

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 Enums/ACT.

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

Page Links


Special Pages


Wikis

?

Render Time: 44ms

DB GetPage 7
Generate Html 6
SaveChanges (1) 17
Render Body 0
Render Sidebar 12