Black Ops III

FinishPlayerDamage

Does damage to a player - usually as part of the damage callback

Example:

self FinishPlayerDamage( eInflictor, eAttacker, iDamage, iDFlags, sMeansOfDeath, sWeapon, vPoint, vDir, sHitLoc, iBone, vDamageOrigin, psOffsetTime, vSurfaceNormal )

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
*PointDamage point
*Direction(vector) The direction of the damage
*Hit LocThe location of the hit
*Damage OriginWhere the damage originated from.
*Offset TimeThe time offset for the damage
*bone indexWhich bone was the closest to the hit
*Surface NormalThe normal of the surface impacted.

* = mandatory