Skip to main content
Events
OnBulletHit

Description
- Called when a bullet hits something
- Can be used to apply damage, spawn decals etc
Arguments
- Hit - the HitResult structure
OnBulletShot

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
OnMagazineEmpty

Description
- Called when there are no more bullets in the current magazine
OnOutOfAmmo

Description
- Called when there are no more bullets
OnWeaponFired

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)
No Comments