Kappa-131st Posted November 7, 2023 Posted November 7, 2023 (edited) When we are in : - Spectator mode - advanced observer - observer - Tactical commander - Gamemaster => You have no player name or id !!!! When you create a marker, you have no display player name on the marker When you use the following functions (for my test, I am alone in the server, in gamemaster "blue") : trigger.action.outText(dump(coalition.getPlayers(0)), 120) --players list for neutral coalition trigger.action.outText(dump(coalition.getPlayers(1)), 120) --players list for red coalition trigger.action.outText(dump(coalition.getPlayers(2)), 120) --players list for blue coalition The gamemaster player does not appear on blue, red or neutral coalition. The 4th line is a tentative to display the author (player name) of the markers with world.getMarkPanels(marker_ids) : "Author "..marker["author"]. It is empty too... How can I get the player name of a gamemaster ? I think it is a bug. Another thing : On the event : S_EVENT_MARK_CHANGE https://wiki.hoggitworld.com/view/DCS_event_mark_change the documentation indicate there is a initiator : Event = { id = 26, idx = number markId, time = Abs time, initiator = Unit, coalition = number coalitionId, groupID = number groupId, text = string markText, pos = vec3 } But when I try to dump the event, there is no "initiator", even If the "initiator" is an active player in an aircraft. On thoses conditions, the only way to have the initiator of a marker is to use world.getMarkPanels() and find the marker to have initiator. (I have made no test for the other event, but I think the initiator is also missing in the event "event_mark_added' and "event_mark_remove) Can we fix it? Edited November 7, 2023 by Kappa-131st
Flappie Posted March 29, 2024 Posted March 29, 2024 (edited) Marker issue reported. Edited March 29, 2024 by Flappie ---
Recommended Posts