Difference between revisions of "DCS event player leave unit"

From DCS World Wiki - Hoggitworld.com
m (1 revision imported)
 
 
Line 5: Line 5:
 
|vNum= 1.2.4
 
|vNum= 1.2.4
  
|id = 20
+
|id = 21
  
 
|desc=Occurs when any player relieves control of a unit to the AI.
 
|desc=Occurs when any player relieves control of a unit to the AI.
Line 14: Line 14:
  
 
  Event = {
 
  Event = {
   id = 20,
+
   id = 21,
 
   time = Time,
 
   time = Time,
 
   initiator = Unit,
 
   initiator = Unit,
Line 23: Line 23:
  
 
|notes= As of DCS 1.5 this event should now correctly fire for any player/clients exiting a Combined Arms unit.
 
|notes= As of DCS 1.5 this event should now correctly fire for any player/clients exiting a Combined Arms unit.
 
+
ID moved from 20 to 21 sometime during patch 2.5.5.
  
  
  
 
}}
 
}}

Latest revision as of 21:33, 14 February 2020


Event: S_EVENT_PLAYER_LEAVE_UNIT Added with: 1.2.4
Enum ID: 21
Description: Occurs when any player relieves control of a unit to the AI.

Initiator : The unit that the player left.

Table Format: The PLAYER LEAVE UNIT event table is in the following format.
Event = {
  id = 21,
  time = Time,
  initiator = Unit,
}
Examples:
Notes: As of DCS 1.5 this event should now correctly fire for any player/clients exiting a Combined Arms unit.

ID moved from 20 to 21 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