Difference between revisions of "DCS event mark added"

From DCS World Wiki - Hoggitworld.com
 
Line 5: Line 5:
 
|vNum= 2.5.1
 
|vNum= 2.5.1
  
|id = 24
+
|id = 25
  
 
|desc= Occurs when mark panels get added to the mission by players or scripting functions.  
 
|desc= Occurs when mark panels get added to the mission by players or scripting functions.  
Line 12: Line 12:
  
 
  Event = {
 
  Event = {
   id = S_EVENT_MARK_ADDED,
+
   id = 25,
 
   idx = idxMark(IDMark),
 
   idx = idxMark(IDMark),
 
   time = Time,
 
   time = Time,
Line 25: Line 25:
 
|exam=
 
|exam=
  
|notes=
+
|notes= ID moved from 24 to 25 sometime during patch 2.5.5.
  
 
}}
 
}}

Revision as of 21:38, 14 February 2020


Event: S_EVENT_MARK ADDED Added with: 2.5.1
Enum ID: 25 Event Locality: None
Description: Occurs when mark panels get added to the mission by players or scripting functions.
Table Format: The mark add event table is in the following format.
Event = {
 id = 25,
 idx = idxMark(IDMark),
 time = Time,
 initiator = Unit,
 coalition = -1 (or RED/BLUE),
 groupID = -1 (or ID),
 text = markText,
 pos = vec3
}
Examples:
Notes: ID moved from 24 to 25 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,