DCS event player enter unit: Difference between revisions

From DCS World Wiki - Hoggitworld.com
No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 6: Line 6:


|id = 20
|id = 20
 
|local= local
|desc=Occurs when any player assumes direct control of a unit.  
|desc=Occurs when any player assumes direct control of a unit.  


Line 19: Line 19:
  }
  }
   
   


|exam=
|exam=
Line 30: Line 31:


}}
}}
[[Category:Game Patch 1.2.4|event player enter unit]]

Latest revision as of 23:47, 25 July 2024


Event: S_EVENT_PLAYER_ENTER_UNIT Added with: 1.2.4
Enum ID: 20 Event Locality: None
Description: Occurs when any player assumes direct control of a unit.

Initiator : The unit that is being taken control of.

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

ID moved from 19 to 20 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, runway_takeoff, runway_touch,