DCS event kill

From DCS World Wiki - Hoggitworld.com
Revision as of 21:50, 14 February 2020 by Grimes (talk | contribs)

Event: S_EVENT_KILL Added with: 2.5.6
Enum ID: 28
Description: Occurs on the death of a unit. Contains more and different information. Similar to unit_lost it will occur for aircraft before the aircraft crash event occurs.

Initiator : The unit that killed the target Target : Target Object Weapon : Weapon Object

Table Format: The dead event table is in the following format.
Event = {
  id = 29,
  time = Time,
  initiator = Unit,
  target = Unit, 
  weapon = Weapon, 
  weapon_name = string, 
Events: shot, hit, takeoff, land, crash, ejection, refueling, dead, pilot_dead, base_captured, mission_start, mission_end, took_control, refueling_stop, birth, human_failure, detailed_failure, engine_startup, engine_shutdown, player_enter_unit, player_leave_unit, player_comment, shooting_start, shooting_end, mark_added, mark_change, mark_remove, kill, score, unit_lost, landing_after_ejection, discard_chair_after_ejection, weapon_add, landing_quality_mark