<aside> ⚡ script "core_damageactor" (int type, int amt, int target, int owner)

</aside>

Usage


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>

Parameters

See Also


core_damageowner