Entity.GetSequenceName

From GMod Wiki

Revision as of 01:37, 1 August 2011 by BlackOps (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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