Garry's Mod Wiki

Garry's Mod Wiki

  number util.GetAnimEventIDByName( string )

Recently Added

This was recently added in version (2024.04.24). It might only be available on the Dev Branch right now.

Description

Returns the ID of a custom model animation event. This is useful for models that define custom animation events.

See util.GetAnimEventNameByID for a function that does the opposite.

Arguments

1 string
The name of an model animation event, as defined in the model's .qc at compile time.

Returns

1 number id
The ID of an animation event, typically for usage with ENTITY:HandleAnimEvent.

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 twice a day. Edits and history are not available.

Last Parsed: Loading...