Entity/LookupSequence

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

Contents

Description

Returns sequence ID from its name.

Arguments

string name

Sequence name

Returns

number

Sequence ID for that name. This will differ for models with same sequence names. Will be -1 whether the sequence is invalid.

Returns

number

The sequence duration

  • 0 if the sequence is invalid
Personal tools
Navigation