Update trigger.action.smoke to include "name" argument.

Fix #9
This commit is contained in:
omltcat 2025-05-25 15:14:51 -04:00
parent 6d95539976
commit 9d2374180f

View File

@ -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.
---