DCS event mark added

From DCS World Wiki - Hoggitworld.com
Revision as of 07:17, 17 March 2022 by Grimes (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


Event: S_EVENT_MARK_ADDED Added with: 2.5.1
Enum ID: 25
Description: Occurs when mark panels or markup shapes get added to the mission by players or scripting functions.


idx: is the unique id associated with the mark. coalition: coaId. Will be -1 if mark wasn't created for coalition groupID: groupId. Will be -1 if mark wasn't created for group

Table Format: The mark add event table is in the following format.
Event = {
 id = 25,
 idx = number markId,
 time = Abs time,
 initiator = Unit,
 coalition = number coalitionId,
 groupID = number groupId,
 text = string 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