Entity.GetSequenceName

From GMod Wiki

Jump to: navigation, search
Function
Syntax Entity:GetSequenceName( Integer index )
Description:
Return the name of the sequence for the index provided.
Returns: String
In Object: Entity
Realm: NewerShared.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=Entity.GetSequenceName]Entity.GetSequenceName [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]



Example

DescriptionPrint out the name of the sequence.
Used onNewerShared.png
Code
local sequence = self:GetSequence()
print( self:GetSequenceName( sequence ) )
Outputidle_all


See Also

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox