Difference between revisions of "DCS event kill"

From DCS World Wiki - Hoggitworld.com
(Created page with "{{Template:DCS_events |eName= KILL |vNum= 2.5.6 |id = 28 |desc= Occurs on the death of a unit. Contains more and different information. Initiator : The unit that killed...")
 
Line 7: Line 7:
 
|id = 28
 
|id = 28
  
|desc= Occurs on the death of a unit. Contains more and different information.  
+
|desc= 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
 
Initiator : The unit that killed the target
Line 27: Line 27:
 
|exam=
 
|exam=
  
|notes=
+
|notes=  
 
 
 
 
 
 
  
 
}}
 
}}

Revision as of 21:50, 14 February 2020


Event: S_EVENT_KILL Added with: 2.5.6
Enum ID: 28 Event Locality: None
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, 
 
}
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, 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, ai_abort_mission, weapon_drop, runway_takeoff, runway_touch,