Difference between revisions of "DCS event mark added"
From DCS World Wiki - Hoggitworld.com
m (added underscore to mark_added event) |
|||
(One intermediate revision by the same user not shown) | |||
Line 8: | Line 8: | ||
|desc= Occurs when mark panels or markup shapes 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