Difference between revisions of "DCS event takeoff"

From DCS World Wiki - Hoggitworld.com
 
(2 intermediate revisions by the same user not shown)
Line 7: Line 7:
 
|id = 3
 
|id = 3
  
|desc= Occurs when an aircraft takes off from an airbase, farp, or ship.
+
|desc= Occurs when an aircraft takes off from an airbase, farp, or ship. Occurs several seconds after take-off.  
  
 
Initiator : The unit that tookoff
 
Initiator : The unit that tookoff
Line 26: Line 26:
 
|exam=
 
|exam=
  
|notes=
+
|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]].
  
 +
Use [[DCS_event_runway_takeoff|runway_takeoff]] for the event related to the exact moment when an aircraft is no longer on the ground.
  
  

Latest revision as of 22:36, 9 August 2024


Event: S_EVENT_TAKEOFF Added with: 1.2.4
Enum ID: 3 Event Locality: None
Description: Occurs when an aircraft takes off from an airbase, farp, or ship. Occurs several seconds after take-off.

Initiator : The unit that tookoff

place: Object from where the AI took-off from. Can be an Airbase Object, FARP, or Ships

Table Format: The takeoff event table is in the following format.
Event = {
  id = 3,
  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_takeoff for the event related to the exact moment when an aircraft is no longer on the ground.

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,