From 6d95539976d8c820f7927cb9e6187816c6837383 Mon Sep 17 00:00:00 2001 From: omltcat <6239696+omltcat@users.noreply.github.com> Date: Sun, 25 May 2025 15:13:56 -0400 Subject: [PATCH 1/2] Fix trigger.action.markupToAll syntax --- library/mission/trigger.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/library/mission/trigger.lua b/library/mission/trigger.lua index 01be03f..0eb2748 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: From 9d2374180f7eebfebf5daad8d09d9f0148dcc655 Mon Sep 17 00:00:00 2001 From: omltcat <6239696+omltcat@users.noreply.github.com> Date: Sun, 25 May 2025 15:14:51 -0400 Subject: [PATCH 2/2] Update trigger.action.smoke to include "name" argument. Fix #9 --- library/mission/trigger.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/library/mission/trigger.lua b/library/mission/trigger.lua index 0eb2748..61c94c5 100644 --- a/library/mission/trigger.lua +++ b/library/mission/trigger.lua @@ -410,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 @@ -447,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. ---