Black Ops III

FinishActorDamage

Does damage to an actor - usually as part of the damage callback

Example:

self FinishActorDamage( eInflictor, eAttacker, iDamage, iDFlags, sMeansOfDeath, sWeapon, vPoint, vDir, sHitLoc, vDamageOrigin, psOffsetTime, iBoneIndex, iSurfaceType, vSurfaceNormal )

Returns: entity

Parameters

ParameterSummary
*InflictorThe entity that causes the damage.(e.g. a turret)
*AttackerThe entity that is attacking.
*DamageInteger specifying the amount of damage done
*Damage FlagsInteger specifying flags that are to be applied to the damage
*Means Of DeathInteger specifying the method of death
*WeaponThe weapon number of the weapon used to inflict the damage
*Direction(vector) The direction of the damage
*Hit LocThe location of the hit
*Damage OriginPosition of the originator of the damage
*Offset TimeThe time offset for the damage
*Bone IndexIndex of nearest bone
[Surface Type]The surface type of the hit location
[Surface Normal]The surface normal at hit location

* = mandatory