Garry's Mod Wiki

Revision Difference

Enums/PLAYERANIMEVENT#516061

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