Garry's Mod Wiki

Revision Difference

Enums/PLAYERANIMEVENT#516243

<cat>enum</cat> <enumeration>⤶ <enum>⤶ <description>Used by <page>GM:DoAnimationEvent</page> and <page>Player:DoCustomAnimEvent</page>.</description> <fields>⤶ <items>⤶ <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>⤶ </items>⤶ ⤶ </enum>⤶ {{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> }}