Garry's Mod Wiki

Entity:GetSequenceActivity

  number Entity:GetSequenceActivity( number seq )

Description

Return activity id out of sequence id. Opposite of Entity:SelectWeightedSequence.

Arguments

1 number seq
The sequence ID

Returns

1 number
The activity ID, ie ACT enum