Soldier:Damage

Soldier:Damage(soldier: SoldierEntity, info: DamageInfo, giverInfo: DamageGiverInfo | nil)

Parameters

Name Type Description
soldier SoldierEntity
info DamageInfo
giverInfo DamageGiverInfo | nil

Example

Hooks:Install('Soldier:Damage', 1, function(hook, soldier, info, giverInfo)
    -- Do stuff here.
end)
Last modified April 27, 2020: Regenerate all API documentation (0b49d6b)