ENTITY/HandleAnimEvent

From Garry's Mod
Jump to: navigation, search
 ENTITY:HandleAnimEvent( )

Contents

Description

Called before firing animation events, such as muzzle flashes or shell ejections.

NOTE

This hook only works on "anim" type entities.

Arguments

number event

The event ID of happened even. See this page.

Arguments

number eventTime

The absolute time this event occurred using CurTime.

Arguments

number cycle

The frame this event occurred as a number between 0 and 1.

Arguments

number type

Event type. See the Source SDK.

Arguments

string options

Name or options of this event.
Personal tools
Navigation