Part of StarfallEx namespace
๐ External
hook.add("PostEntityTakeDamage", "name", function(target, attacker, inflictor, amount, type, position, force, took) end)๐ Has LDoc๐๏ธ 0 viewsUpdated 2 months ago
Description
Called when an entity is damaged, after EntityTakeDamage is processed.
Parameters
| Name | Type | Description |
|---|---|---|
target | Entity | Entity that is hurt |
attacker | Entity | Entity that attacked |
inflictor | Entity | Entity that inflicted the damage |
amount | number | How much damage |
type | number | Type of the damage |
position | Vector | Position of the damage |
force | Vector | Force of the damage |
took | boolean | Whether the entity actually received the damage or not |
Returns
No return values documented.
Examples
No examples available.
Used In
No usages found in the codebase.