Difference between revisions of "DCS event mark added"
From DCS World Wiki - Hoggitworld.com
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{Template:DCS_events | {{Template:DCS_events | ||
− | |eName= | + | |eName=MARK_ADDED |
|vNum= 2.5.1 | |vNum= 2.5.1 | ||
Line 7: | Line 7: | ||
|id = 25 | |id = 25 | ||
− | |desc= Occurs when mark panels get added to the mission by players or scripting functions. | + | |desc= 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 | ||
|form= The mark add event table is in the following format. | |form= The mark add event table is in the following format. | ||
Line 13: | Line 18: | ||
Event = { | Event = { | ||
id = 25, | id = 25, | ||
− | idx = | + | idx = number markId, |
− | time = | + | time = [[DCS func getAbsTime|Abs time]], |
− | initiator = Unit, | + | initiator = [[DCS_Class_Unit|Unit]], |
− | coalition = | + | coalition = [[DCS_singleton_coalition|number coalitionId]], |
− | groupID = | + | groupID = number groupId, |
− | text = markText, | + | text = string markText, |
pos = vec3 | pos = vec3 | ||
} | } | ||
Line 28: | Line 33: | ||
}} | }} | ||
+ | [[Category:Game Patch 2.5.1|event mark add]] |
Latest revision as of 07:17, 17 March 2022