On Hit By Bullet

Items
Both Server and Client
Both Mobile and PC
Owner:
Aimable

Triggered when hit by a weapon

Declaration

event OnHitByBullet(weapon entity<Weapon>, hitPosition Vector3)
go

Parameters

Name Type Description
Weapon Weapon Weapon Entity
Hit Position Vector3 World coordinates of the hit location