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

</aside>

Usage


Similar to [core_damageactor](<https://mm8bdm.notion.site/core_damageactor-ee0369fe773743bf83c80e877cb03593>) 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