Entity.GetCycle
From GMod Wiki
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. |