DCS event hit

From DCS World Wiki - Hoggitworld.com


Event: S_EVENT_HIT Added with: 1.2.4
Enum ID: 2
Description: Occurs whenever an object is hit by a weapon.

Initiator : The unit object the fired the weapon

Weapon: Weapon object that hit the target

Target: The Object that was hit.

Table Format: The shot event table is in the following format.
Event = {
  id = 2,
  time = Time,
  initiator = Unit,
  weapon = Weapon
  target = Object
}
Examples:
Notes:
Events: shot, hit, takeoff, land, crash, ejection, refueling, dead, pilot_dead, base_captured, mission_start, mission_end, took_control, refueling_stop, birth, human_failure, engine_startup, engine_shutdown, player_enter_unit, player_leave_unit, player_comment, shooting_start, shooting_end, mark_added, mark_change, mark_remove