Difference between revisions of "DCS func textToAll"
From DCS World Wiki - Hoggitworld.com
Line 23: | Line 23: | ||
Id MUST be unique and is shared with the ids used with [[DCS_func_markToAll|mark panels]]. Likewise [[DCS_func_removeMark|trigger.action.removeMark]] is used to remove shapes created. | Id MUST be unique and is shared with the ids used with [[DCS_func_markToAll|mark panels]]. Likewise [[DCS_func_removeMark|trigger.action.removeMark]] is used to remove shapes created. | ||
− | + | point MUST be a vec3 table. {x, y z} | |
Color format is {r, g, b, a} with values 0 to 1. A red line with 50% alpha would be {1, 0, 0, 0.5} | Color format is {r, g, b, a} with values 0 to 1. A red line with 50% alpha would be {1, 0, 0, 0.5} | ||
Line 33: | Line 33: | ||
readOnly denotes whether in the future if clients will be allowed to edit or remove the shape. | readOnly denotes whether in the future if clients will be allowed to edit or remove the shape. | ||
− | + | text corresponds to the message that is displayed on the map. | |
|rtnType= function | |rtnType= function |