Black Ops III

FinishVehicleDamage

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

Example:

self FinishVehicleDamage( eInflictor, eAttacker, iDamage, iDFlags, sMeansOfDeath, sWeapon, vPoint, vDir, sHitLoc, psOffsetTime, damageUnderneathVehicle, modelindex, partname, damageteammates )

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
*PointPoint of damage
*Direction(vector) The direction of the damage
*Hit LocThe location of the hit
*Offset TimeThe time offset for the damage
*DamageFromUnderneathIf the hit is underneath the vehicle
*modelIndexwhich model in the dobj was hit
*partIndexwhich bone was hit
*damageteammatesWhether to damage teammates or not

* = mandatory