PLAYERANIMEVENT
Description
Used by GM:DoAnimationEvent and Player:DoCustomAnimEvent.
Values
PLAYERANIMEVENT_ATTACK_PRIMARY | 0 | Primary attack |
PLAYERANIMEVENT_ATTACK_SECONDARY | 1 | Secondary attack |
PLAYERANIMEVENT_ATTACK_GRENADE | 2 | Grenade throw |
PLAYERANIMEVENT_RELOAD | 3 | Reload |
PLAYERANIMEVENT_RELOAD_LOOP | 4 | Looping reload (single-reload shotguns) |
PLAYERANIMEVENT_RELOAD_END | 5 | Looping reload end |
PLAYERANIMEVENT_JUMP | 6 | Jump |
PLAYERANIMEVENT_SWIM | 7 | Swim |
PLAYERANIMEVENT_DIE | 8 | Die |
PLAYERANIMEVENT_FLINCH_CHEST | 9 | |
PLAYERANIMEVENT_FLINCH_HEAD | 10 | |
PLAYERANIMEVENT_FLINCH_LEFTARM | 11 | |
PLAYERANIMEVENT_FLINCH_RIGHTARM | 12 | |
PLAYERANIMEVENT_FLINCH_LEFTLEG | 13 | |
PLAYERANIMEVENT_FLINCH_RIGHTLEG | 14 | |
PLAYERANIMEVENT_DOUBLEJUMP | 15 | |
PLAYERANIMEVENT_CANCEL | 16 | |
PLAYERANIMEVENT_SPAWN | 17 | Spawn |
PLAYERANIMEVENT_SNAP_YAW | 18 | |
PLAYERANIMEVENT_CUSTOM | 19 | Custom activity |
PLAYERANIMEVENT_CUSTOM_GESTURE | 20 | Play activity in gesture slot |
PLAYERANIMEVENT_CUSTOM_SEQUENCE | 21 | Play sequence |
PLAYERANIMEVENT_CUSTOM_GESTURE_SEQUENCE | 22 | Play sequence in gesture slot |
PLAYERANIMEVENT_CANCEL_RELOAD | 23 | Cancel reload animation |