Difference between revisions of "DCS event shooting start"

From DCS World Wiki - Hoggitworld.com
 
(2 intermediate revisions by the same user not shown)
Line 18: Line 18:
 
   id = 23,
 
   id = 23,
 
   time = Time,
 
   time = Time,
   initiator = Unit,
+
   initiator = [[DCS_Class_Unit|Unit]],
   target = Unit,
+
   target = [[DCS_Class_Object|Object]],
 +
  weapon_name = string
 
  }
 
  }
 
   
 
   
Line 31: Line 32:
  
 
}}
 
}}
 +
[[Category:Game Patch 1.2.4|event shooting start]]

Latest revision as of 07:17, 17 March 2022


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 = Object,
  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, ai_abort_mission, weapon_drop