Difference between revisions of "DCS event shooting start"

From DCS World Wiki - Hoggitworld.com
 
Line 20: Line 20:
 
   initiator = Unit,
 
   initiator = Unit,
 
   target = Unit,
 
   target = Unit,
 +
  weapon_name = string
 
  }
 
  }
 
   
 
   

Latest revision as of 06:07, 2 July 2021


Event: S_EVENT_SHOOTING_START Added with: 1.2.4
Enum ID: 23
Description: Occurs when any unit begins firing a weapon that has a high rate of fire. Most common with aircraft cannons (GAU-8), autocannons, and machine guns.

Initiator : The unit that is doing the shooing.

Target: The unit that is being targeted.

Table Format: The SHOOTING START event table is in the following format.
Event = {
  id = 23,
  time = Time,
  initiator = Unit,
  target = Unit,
  weapon_name = string
}
Examples:
Notes: ID moved from 22 to 23 sometime during patch 2.5.5.
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