Entity.GetCycle
From GMod Wiki
Revision as of 20:18, 13 April 2011 by [R2P] Obstsalat aka Kokosnuss (Talk | contribs)
Function | |
Syntax | Entity:GetCycle( ) |
Description: | |
Returns the frame of the currently played sequence. | |
Returns: | Integer |
In Object: | Entity |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Entity.GetCycle]Entity.GetCycle [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Example
Description | Prints the frame of the current sequence from our entity to console. |
---|---|
Used on | |
Code | Msg(self:GetCycle()) |
Output | An Integer, 5 for example. |