Difference between revisions of "DCS event takeoff"

From DCS World Wiki - Hoggitworld.com
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= 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]]
 
 
 
Any AI and MP Clients: [[DCS_event_takeoff|takeoff]], [[DCS_event_land|land]]
 
  
 +
Use [[DCS_event_runway_takeoff|runway_takeoff]] for the event related to the exact moment when an aircraft is no longer on the ground.
  
  

Revision as of 22:33, 9 August 2024

{{Template:DCS_events

|eName=TAKEOFF

|vNum= 1.2.4

|id = 3

|desc= 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

|form= The takeoff event table is in the following format.

Event = {
  id = 3,
  time = Time,
  initiator = Unit,
  place = Airbase,
  subPlace = 0
}

|exam=

|notes= DCS 2.9.6 changed the functionality of the takeoff and land event effectively applying their previous behavior to runway_takeoff, [[DCS_event_runway_touch|runway_touch].

Use runway_takeoff for the event related to the exact moment when an aircraft is no longer on the ground.


}}