Lua Events/OnHitZombie
< Lua Events(Redirected from Lua Events/OnHitZombie)
Event
OnHitZombie
Description
Triggered when a character hits a zombie.
Parameters
- IsoZombie The zombie that is being hit.
- IsoGameCharacter The character who's hitting the zombie.
- BodyPartType The body part where the zombie was hit.
- HandWeapon The hand weapon used to hit the zombie.
Examples
local function OnHitZombie(zombie, character, bodyPartType, handWeapon) -- Your code here end Events.OnHitZombie.Add(OnHitZombie)