Difference between revisions of "DCS event mark remove"

From DCS World Wiki - Hoggitworld.com
 
(2 intermediate revisions by the same user not shown)
Line 7: Line 7:
 
|id = 27
 
|id = 27
  
|desc= Occurs when mark panels get removed from the mission by players or scripting functions.  
+
|desc= Occurs when mark panels or markup shapes get removed from the mission by players or scripting functions.  
  
|form=  The mark add event table is in the following format.  
+
|form=  The mark remove event table is in the following format.  
  
 
  Event = {
 
  Event = {
 
   id = 27,
 
   id = 27,
   idx = idxMark(IDMark),
+
   idx = number markId,
   time = Time,
+
   time = [[DCS func getAbsTime|Abs time]],
   initiator = Unit,
+
   initiator = [[DCS_Class_Unit|Unit]],
   coalition = -1 (or RED/BLUE),
+
   coalition = [[DCS_singleton_coalition|number coalitionId]],
   groupID = -1 (or ID),
+
   groupID = number groupId,
   text = markText,
+
   text = string markText,
 
   pos = vec3
 
   pos = vec3
 
  }
 
  }
Line 28: Line 28:
  
 
}}
 
}}
 +
[[Category:Game Patch 2.5.1|event mark remove]]

Latest revision as of 07:18, 17 March 2022


Event: S_EVENT_MARK REMOVE Added with: 2.5.1
Enum ID: 27 Event Locality: None
Description: Occurs when mark panels or markup shapes get removed from the mission by players or scripting functions.
Table Format: The mark remove event table is in the following format.
Event = {
 id = 27,
 idx = number markId,
 time = Abs time,
 initiator = Unit,
 coalition = number coalitionId,
 groupID = number groupId,
 text = string markText,
 pos = vec3
}
Examples:
Notes: ID moved from 26 to 27 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,