Creates a text imposed on the map at a given point. Text scales with the map.
Coalition Ids to be used.
-1 All
0 Neutral
1 Red
2 Blue
Id MUST be unique and is shared with the ids used with mark panels. Likewise 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 defines the color of the text to be displayed
colorFill will be the color of a rectangle over the area that the text covers.
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.
|