Apply damage to a vehicle in a fashion compatable with ACE vehicle damage system. Must be called from machine where target vehicle is local.
_vehicle | Vehicle to damage [Object] |
_ammotype | Weapon to detonate [String] |
_position | Location of weapon above terrain level when damage occurred, for direction calculations [Position3D] |
_blast_damage | Blast damage in BIS indirect fire units [Number] |
_thermal_damage | Thermal damage in BIS indirect fire units [Number] |
_rad_damage | Radiation damage in BIS indirect fire units [Number] |
nil
[_poortank, "BombCore", (getPosATL _bomb), 250, 0, 0] spawn ACE_fnc_setVehicleDamage
q1148 © 2010