<aside> ⚡ script "core_damageowner" (int amt, int targetptr, int ownerptr)

</aside>

Usage


Similar to core_damageactor but if the target and owner are the same, or the target and owner are on the same team, the damage is owed to the world instead. This is useful for creating hazards, or damaging abilities that are dangerous to everyone. Type is also determined by appending “HazardCredit_” to the beginning of the calling actor’s name.

Parameters

See Also


core_damageactor