Difference between revisions of "DCS event land"

From DCS World Wiki - Hoggitworld.com
Line 26: Line 26:
 
|exam=
 
|exam=
  
|notes=
+
|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.
 +
 
 +
SP/MP Host: [[DCS_event_runway_takeoff|runway_takeoff]], [[DCS_event_runway_touch|runway_touch]]
 +
 
 +
Any AI and MP Clients: [[DCS_event_takeoff|takeoff]], [[DCS_event_land|land]]
  
  

Revision as of 22:35, 23 July 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

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 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.

SP/MP Host: runway_takeoff, runway_touch

Any AI and MP Clients: takeoff, land

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,