Difference between revisions of "DCS event land"

From DCS World Wiki - Hoggitworld.com
 
Line 7: Line 7:
 
|id = 4
 
|id = 4
  
|desc= Occurs when an aircraft lands at an airbase, farp or ship
+
|desc= Occurs when an aircraft lands at an airbase, farp or ship and sufficiently slows down.
  
 
Initiator : The unit that has landed
 
Initiator : The unit that has landed
Line 26: Line 26:
 
|exam=
 
|exam=
  
|notes= DCS 2.9.6 introduced a change with regard to take-off and landing events. There is now a separate event for when a player in SP or the host in MP takes off and lands. The existing takeoff and landing event will still occur for every other aircraft. Clients in MP should also get the existing takeoff and landing event.  
+
|notes= DCS 2.9.6 changed the functionality of the [[DCS_event_takeoff|takeoff]] and [[DCS_event_land|land]] event effectively applying their previous behavior to [[DCS_event_runway_takeoff|runway_takeoff]], [[DCS_event_runway_touch|runway_touch]].
  
SP/MP Host: [[DCS_event_runway_takeoff|runway_takeoff]], [[DCS_event_runway_touch|runway_touch]]
+
Use [[DCS_event_runway_touch|runway_touch]] for the event related to the exact moment when an aircraft touches the ground after being airborne.
 
 
Any AI and MP Clients: [[DCS_event_takeoff|takeoff]], [[DCS_event_land|land]]
 
  
  

Latest revision as of 22:38, 9 August 2024


Event: S_EVENT_LAND Added with: 1.2.4
Enum ID: 4 Event Locality: None
Description: Occurs when an aircraft lands at an airbase, farp or ship and sufficiently slows down.

Initiator : The unit that has landed

place: Object that the unit landed on. Can be an Airbase Object, FARP, or Ships

Table Format: The shot event table is in the following format.
Event = {
  id = 4,
  time = Time,
  initiator = Unit,
  place = Airbase,
  subPlace = 0
}
Examples:
Notes: DCS 2.9.6 changed the functionality of the takeoff and land event effectively applying their previous behavior to runway_takeoff, runway_touch.

Use runway_touch for the event related to the exact moment when an aircraft touches the ground after being airborne.

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,