Garry's Mod Wiki
Description
Returns sequence ID corresponding to given activity ID.
Multiple sequences can be assigned to a single ACT enum, in which case a random one will be selected. This can be used for example to randomize idle animations (and is used for that by built-in weapons) without the need to code logic for this.
See also Entity:SelectWeightedSequenceSeeded.
Opposite of Entity:GetSequenceActivity.
Similar to Entity:LookupSequence.
Arguments
Returns
Example
Use this hook to check if the model has a certain ACT_* enumeration, and if it does, play it.
Output: Will play the ACT_VM_RELOAD_EMPTY enumeration if the model has it. If not, it will play the normal reload enum.
This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.
Page content is automatically updated four times a day. Edits and history are not available.
Last Parsed: Loading...