Garry's Mod Wiki

Entity:GetSequenceList

Description

Returns a list of all sequences ( animations ) the model has.

Returns

1 table
The list of all sequences ( animations ) the model has. The indices start with 0!

Example

Example showing table structure. Prints a list of player model sequences.

PrintTable( Entity(1):GetSequenceList() )
Output:
0 = ragdoll 1 = reference 2 = idle_all_01 3 = idle_all_02 4 = idle_all_angry 5 = idle_all_scared 6 = idle_all_cower 7 = cidle_all 8 = swim_idle_all 9 = sit 10 = menu_walk 11 = menu_combine 12 = menu_gman 13 = walk_all -- The rest of the sequences

Page Links


Special Pages


Wikis

?

Render Time: 27ms

DB GetPage 3
Generate Html 3
SaveChanges (1) 8
Render Body 0
Render Sidebar 11