Triggers when a given animation event (find argument) is played.
This event is used for animation events (e.g. jump), if you're looking for an event that uses specific animation sequences (e.g. jump_pistol) see sequence name.
Any string operator.
name | type | description |
---|---|---|
time | number | For how many seconds should the event be active after triggering. Default is 0.1 |
find | string | Animation event to look for. List below. |
name | description |
---|---|
attack primary | Using primary attack on a weapon. Does NOT work with Physics / Gravity Gun. |
reload | Reloading a weapon |
jump | Jumping |
cancel reload | Switching weapons |
attack secondary | Using secondary attack on a weapon. Can't get it to work?? |
attack grenade | Grenade throw Can't get it to work?? |
reload loop | ??? |
reload end | ??? |
swim | Swimming Can't get it to work?? |
die | Dying Can't get it to work?? |
flinch chest | ??? |
flinch head | ??? |
flinch leftarm | ??? |
flinch rightarm | ??? |
flinch leftleg | ??? |
flinch rightleg | ??? |
double jump | ??? |
cancel | ??? |
spawn | Spawning Can't get it to work?? |
snap yaw | ??? |
custom | ??? |
custom gesture | ??? |
custom sequence | ??? |
custom sequence gesture | ??? |
Set the event to animation_event, operator to find, find to jump, time to 2. The event will trigger and stay active for 2 seconds whenever you jump.
Download: event_animation_event.txt