Skip to main content

Events

BulletHitOnBulletHit

image.pngimage.png

Description

  • Called when a bullet hits something
  • Can be used to apply damage, spawn decals etc

Arguments

  • Hit - the HitResult structure

BulletShotOnBulletShot

image.pngimage.png

Description

  • Called when a bullet spawns (or the line trace is fired)
  • Can be used for playing sounds, niagara fx and others.

Arguments

  • StartLocation - the location where the bullet has spawned (i.e. the muzzle socket position)
  • Hit - HitResult of the actual trace
  • Success - if the trace hit something or not

MagazineEmptyOnMagazineEmpty

image.pngimage.png

Description

  • Called when there are no more bullets in the current magazine

OutOfAmmoOnOutOfAmmo

image.pngimage.png

Description

  • Called when there are no more bullets

WeaponFiredOnWeaponFired

image.pngimage.png

Description

  • Called when the weapon is fired (not per bullet - i.e. on burst, will be called once even if the burst has more bullets)