Skip to content

Animation Activity Events

Vuthakral edited this page May 7, 2022 · 5 revisions

This page contains a list of the hardcoded animation activities in the swep base, and where they are called.


ACT_VM_PRIMARYATTACK

  • Called by gun & battery base for primary attacks

ACT_VM_SECONDARYATTACK

  • Called by gun & battery base for secondary attacks, if sights disabled.

ACT_VM_RELOAD

  • Called by gun & battery base for reload/venting animations.
  • Called for the looping reload animation in the manual reload functions

ACT_VM_FIDGET

  • Called by any Draconic SWEP for inspect animations.

ACT_VM_IDLE

  • Self explanatory.

ACT_WALK

  • Called by any Draconic SWEP for walking animations.

ACT_RUN

  • Called by any Draconic SWEP for sprinting animations.

ACT_JUMP

  • (Not implemented yet) Called by any Draconic SWEP for jumping animations.

ACT_SHOTGUN_PUMP

  • Called on SWEP:EndReload() if SWEP.LoadAfterReloadEmpty = true (plays animation if reloaded from an empty clip1)
  • Called on SWEP:ManuallyLoadAfterReload() if SWEP.LoadAfterReloadEmpty = true, as addendum to SWEP:FinishManualReload()

ACT_SHOTGUN_RELOAD_START

  • Used for the "manual reload" / reload cycle system. (I hope someone uses this to make some older rifles, would be cool)
  • Used for the overheat/venting start animation on the battery base

ACT_SHOTGUN_RELOAD_FINISH

  • Used for the "manual reload" / reload cycle system.
  • Used for the overheat/venting end animation on the battery base
Clone this wiki locally