Entity.SetPlaybackRate
From GMod Wiki
Function | |
Syntax | Entity:SetPlaybackRate( Float rate ) |
Description: | |
Set the rate at which the entity's animation is played, where 1.0 is normal speed. | |
Returns: | nil |
In Object: | Entity |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Entity.SetPlaybackRate]Entity.SetPlaybackRate [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Example
Description | Play the "idle" animation twice as fast as normal. |
---|---|
Used on | |
Code | local sequence = self:LookupSequence("idle") self:ResetSequence(sequence) self:SetPlaybackRate(2.0) |
Output | N/A |
Additional Notes
- N/A