diff --git a/library/mission/trigger.lua b/library/mission/trigger.lua index 01be03f..61c94c5 100644 --- a/library/mission/trigger.lua +++ b/library/mission/trigger.lua @@ -106,14 +106,13 @@ function trigger.action.arrowToAll(coalition, id, startPoint, endPoint, color, f ---@param coalition coalition.side|integer -- The coalition id. ---@param id integer -- The unique id. ---@param point1 vec3 -- The start of the polygon. ----@param point2 vec3 -- The next of the polygon. ---@param pointN vec3 -- Any rest of the points of the polygon. ---@param color table -- The color of the outline. ---@param fillColor table -- The color used for shading the shape. ---@param lineType integer -- The type of the line. ---@param readOnly? boolean -- Whether the circle is read only. ---@param message? string -- The message to display when the circle is added. -function trigger.action.markupToAll(shapeId, coalition, id, point1, point2, pointN, color, fillColor, lineType, readOnly, message) end +function trigger.action.markupToAll(shapeId, coalition, id, point1, pointN, color, fillColor, lineType, readOnly, message) end ---Creates a circle on the map with a given radius, color, fill color, and outline.
---Coalition Ids to be used: @@ -411,7 +410,8 @@ function trigger.action.ctfColorTag(unitName , smokeColor ) end ---___ ---@param vec3 vec3 Location of smoke. ---@param smokeColor trigger.smokeColor Color of smoke. -function trigger.action.smoke(vec3, smokeColor ) end +---@param name? string Optional Unique name given to the smoke mark to be used with removing it. +function trigger.action.smoke(vec3, smokeColor, name) end ---Creates a large smoke effect on a vec3 point of a specified type and density. --- - 1 = small smoke and fire @@ -448,7 +448,7 @@ function trigger.action.effectSmokeBig(vec3, preset, density, name) end ---``` ---___ ---@param name string Name give in trigger.effectSmokeBig -function trigger.action.effectSmokeStop(name ) end +function trigger.action.effectSmokeStop(name) end ---Transmits an audio file to be broadcast over a specific frequency eneminating from the specified point. ---