Skip to main content

Events

BulletHit

image.png

Description

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

Arguments

  • Hit - the HitResult structure

BulletShot

image.png

Description

  • Called when a bullet spawns (or the line trace is fired)

Arguments

  • StartLocation - the location where the bullet has spawned (i.e. the muzzle socket position)

MagazineEmpty

image.png

Description

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

OutOfAmmo

image.png

Description

  • Called when there are no more bullets

WeaponFired

image.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)