<aside> ⚡ script "core_damageactor" (int type, int amt, int target, int owner)
</aside>
Used for damaging actors via ACS if you are aware of the TIDs. Used for hazard credit.
The first parameter is an actor name, the actor must inherit from [BasicACSDamager](<https://mm8bdm.notion.site/BasicACSDamager-7afdcb44acc247ddaf07d1eb0345041c>)
and have a damagetype.
<aside>
💡 Note: Because this script takes 4 parameters, it is required to call it using [ACS_NamedExecuteWithResult](<https://zdoom.org/wiki/ACS_NamedExecuteWithResult>)
.
</aside>
type
: string - Name of the [BasicACSDamager](<https://mm8bdm.notion.site/BasicACSDamager-7afdcb44acc247ddaf07d1eb0345041c>)
actor that deals the damage.amt
: int - Amount of damage to deal.target
: int - TID of the person being damaged.owner
: int - TID of the person dealing the damage.