<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
and have a damagetype.
<aside>
💡 Note: Because this script takes 4 parameters, it is required to call it using ACS_NamedExecuteWithResult
.
</aside>
type
: string - Name of the BasicACSDamager
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.